X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=usr%2Flocal%2Fbin%2Fgit-wrapper;h=570a47d2d737a82fcfda6365bd311a205b9ad2b5;hb=d25f70d83bd46b7e0b58f7a87d522f74fdf28431;hp=6896ec8904e6dfe0677522564effdbb36a1868c7;hpb=6ac9194a16209a6d214cb293f97b277dec74ad6d;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/usr/local/bin/git-wrapper b/usr/local/bin/git-wrapper index 6896ec8..570a47d 100755 --- a/usr/local/bin/git-wrapper +++ b/usr/local/bin/git-wrapper @@ -37,7 +37,7 @@ do # When the client wants us to receive a pack, create the git # repository if it does not exist yet if [ "`basename $0`" = "git-receive-pack" -a ! -e "$DIR" ]; then - init_repos "$DIR" + init_repos "$DIR" || exit 1 fi ARGS[$i]="$DIR" else