aboutsummaryrefslogtreecommitdiff
path: root/modules/git/git-shell-commands/owner
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/git-shell-commands/owner')
-rwxr-xr-xmodules/git/git-shell-commands/owner2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/git-shell-commands/owner b/modules/git/git-shell-commands/owner
index d65fd02..bd54e59 100755
--- a/modules/git/git-shell-commands/owner
+++ b/modules/git/git-shell-commands/owner
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
if [ -f "$1/config" ]; then
- cd "$1"
+ cd "$1" || exit
git config cgit.owner "$2"
fi