diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-04-18 15:02:27 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-04-18 15:02:27 +0200 |
| commit | f905e09ade90b9d8a047b24204f82f6b9bb08407 (patch) | |
| tree | 5c7cf8fae29d122f37aad18b4098e621269be7e5 | |
| parent | 3481b5b35ea87408f04315f28f4fd14403703f5b (diff) | |
| download | git_hooks-mirror_push-f905e09ade90b9d8a047b24204f82f6b9bb08407.tar.gz | |
Fixed typo
| -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 |
