Change printf to print in getdisk function

This commit is contained in:
Dylan 2016-01-26 21:43:01 +11:00
parent 21edcc0eb9
commit 8b606395d1

2
fetch
View file

@ -1015,7 +1015,7 @@ getdisk () {
esac esac
# Get the disk info # Get the disk info
disk=$(df $df_flags 2>/dev/null | awk '/total/ {printf $2 ":" $3 ":" $5}') disk=$(df $df_flags 2>/dev/null | awk '/total/ {print $2 ":" $3 ":" $5}')
# Format the output # Format the output
disk_used=${disk#*:} disk_used=${disk#*:}