diff --git a/daily.sh b/daily.sh index c9a4697c4..ddc4f2e9f 100755 --- a/daily.sh +++ b/daily.sh @@ -5,7 +5,7 @@ set -eu cd "$(dirname "$0")" up=$(php daily.php -f update >&2; echo $?) -if [ $up -eq 1 ]; then +if [ "$up" -eq 1 ]; then git pull --quiet php includes/sql-schema/update.php fi