From c8f00ce4992039178e6d5c553c3f840a149b0446 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Tue, 26 Aug 2014 17:27:21 +0200 Subject: [PATCH] Missing semicolon --- scripts/git/post-receive | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/git/post-receive b/scripts/git/post-receive index ce89017..5bcd350 100755 --- a/scripts/git/post-receive +++ b/scripts/git/post-receive @@ -85,8 +85,8 @@ if $ABORT_UNTRACKED && [ `$GIT_EXEC status --porcelain | wc -l` -gt 0 ]; then echo "committed or added to .gitignore and $DAEMON_DESC restarted manually." $GIT_EXEC status --short - if ! conf_check - then exit 64 + if ! conf_check; then + exit 64 fi echo "WARNING: $DAEMON_DESC found errors in the configuration," @@ -106,7 +106,7 @@ if ! $GIT_EXEC reset --hard fi # Check if the server finds any errors in the new config -if ! conf_check then +if ! conf_check; then echo "WARNING: $DAEMON_DESC found errors in the configuration," echo "please fix the errors and push the corrected configuration." -- 2.1.4