diff --git a/push.sh b/push.sh index e67d82b..4c5438e 100755 --- a/push.sh +++ b/push.sh @@ -58,7 +58,7 @@ chmod 0600 .tmp/* pushd site hugo -if [ $? ne 0 ] +if [ "$?" -ne 0 ] then echo "Hugo build failed" exit 1