From bfe77143113312d286219b519a8f7c35581b9b6a Mon Sep 17 00:00:00 2001 From: Simon Marsh Date: Sun, 12 Dec 2021 17:07:21 +0000 Subject: [PATCH] fix push script --- push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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