Fix Syntax Error

This commit is contained in:
Mike Reeves
2021-03-16 09:34:53 -04:00
parent 8d23518f90
commit 00025e5c74

View File

@@ -409,10 +409,11 @@ up_2.3.2X_to_2.3.30() {
verify_upgradespace() { verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//') CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then if [ "$CURRENTSPACE" -lt "10" ]; then
echo "You are low on disk space."; echo "You are low on disk space."
return 1 return 1
else else
return 0 return 0
fi
} }
upgrade_space() { upgrade_space() {