diff --git a/action.sh b/action.sh index 326f811..831300c 100755 --- a/action.sh +++ b/action.sh @@ -349,7 +349,7 @@ if [ "$ACTION" == "quota" ]; then QUOTA=$(quota -gsl | tail -n 1 | awk -F" " '{ print $3 }' | sed 's/[A-Za-z]//g') # If smaller than 1M, set usage to 1M to avoid miscalcuations - if [ $(echo $USAGE | grep -q "[A-Za-z]$" ; echo $?) = 0 ]; then + if [ $(echo $USAGE | grep -q "[A-Za-z]$" ; echo $?) != 0 ]; then USAGE="1" fi