[kvmstats] fix printf when not using -a option

This commit is contained in:
Alexis Ben Miloud--Josselin 2019-08-01 15:33:02 +02:00
parent 97d9c76251
commit a06be48a3e

View file

@ -79,7 +79,7 @@ done | xargs -n5 | {
test "$SHOW_AVAIL" && {
nproc
awk '/^MemTotal:/ { print int($2 / '$((POW / 1024))' ) }' /proc/meminfo
} | xargs printf 'AVAILABLE %s %s\n'
} | xargs -r printf 'AVAILABLE %s %s\n'
} | case $FMT in
'human')
column -t