From f905e09ade90b9d8a047b24204f82f6b9bb08407 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 18 Apr 2024 15:02:27 +0200 Subject: Fixed typo --- post-commit.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'post-commit.tmpl') 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 -- cgit v1.2.3