Oops, forgot to close a quote.
This commit is contained in:
parent
512204875c
commit
88e4b13a71
@ -51,7 +51,7 @@ diskSize="$(df -h --output='size' / | tail -1 | tr -cd '[:digit:].')"
|
|||||||
diskSize=${diskSize%.*}
|
diskSize=${diskSize%.*}
|
||||||
if [[ $diskSize -le 5 ]]; then
|
if [[ $diskSize -le 5 ]]; then
|
||||||
if [[ "$(yesno "$diskSource is only $diskSize gigs, which means it probably needs to be resized. Would you like to do this now?")" == "Yes" ]]; then
|
if [[ "$(yesno "$diskSource is only $diskSize gigs, which means it probably needs to be resized. Would you like to do this now?")" == "Yes" ]]; then
|
||||||
sudo "${sudoFlags[@]} growpartfs $diskSource
|
sudo "${sudoFlags[@]}" growpartfs $diskSource
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user