diff options
-rw-r--r-- | post-commit.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/post-commit.tmpl b/post-commit.tmpl index df441fa..1904182 100644 --- a/post-commit.tmpl +++ b/post-commit.tmpl @@ -3,9 +3,9 @@ hook_active= {{ active }} remote_url= {{ mirror_url }} -if [ "$hook_active" == false ]; the +if [ "$hook_active" == false ]; then echo 'Mirror push hook is not active!' - exit(-1); + exit -1 fi if git ls-remote $remote_url; then |