diff --git a/fetch b/fetch index fcf22931..3e63b664 100755 --- a/fetch +++ b/fetch @@ -1015,7 +1015,7 @@ getdisk () { esac # Get the disk info - disk=$(df $df_flags 2>/dev/null | awk '/total/ {print $2 ":" $3 ":" $5}') + disk=$(df $df_flags 2>/dev/null | awk 'END{print $2 ":" $3 ":" $5}') # Format the output disk_used=${disk#*:}