general: Fix awk missing backslash

This commit is contained in:
Dylan Araps 2017-08-02 12:58:08 +10:00
parent d7abf3ce68
commit e53404e349

View file

@ -886,7 +886,7 @@ get_cpu() {
;;
*)
cpu="$(awk -F ': | @' '/model name|Processor|^cpu model|chip type|^cpu type/
cpu="$(awk -F ': | @' '/model name|Processor|^cpu model|chip type|^cpu type/\
{printf $2; exit}' "$cpu_file")"
[[ "$cpu" == *"processor rev"* ]] && \