summaryrefslogtreecommitdiff
path: root/post-commit.tmpl
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-04-18 15:02:27 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-04-18 15:02:27 +0200
commitf905e09ade90b9d8a047b24204f82f6b9bb08407 (patch)
tree5c7cf8fae29d122f37aad18b4098e621269be7e5 /post-commit.tmpl
parent3481b5b35ea87408f04315f28f4fd14403703f5b (diff)
Fixed typo
Diffstat (limited to 'post-commit.tmpl')
-rw-r--r--post-commit.tmpl4
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