diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-07-25 23:50:10 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-07-25 23:50:10 +0200 |
commit | f6e0de976f05ad7e9e796896864d73c41c48330c (patch) | |
tree | e3c7c76e97f5dc6aec428d7065dcfa2cb973b41c | |
parent | 19292ce1f6047c9f0103bef2319cb592506e2a52 (diff) | |
download | reposync-f6e0de976f05ad7e9e796896864d73c41c48330c.tar.gz |
removed testing echos
-rwxr-xr-x | gitwrapper.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gitwrapper.sh b/gitwrapper.sh index 2a8ed26..d6b8fc9 100755 --- a/gitwrapper.sh +++ b/gitwrapper.sh @@ -90,8 +90,6 @@ fi read direction repo_path < <( echo "$SSH_ORIGINAL_COMMAND" | sed -n 's/^git[ -]\(receive\|upload\)-pack \(.*\)$/\1 \2/p' | tr -d "'" ) [ -z "$repo_path" ] && exit 1 -perror "$repo_path" - if [ "$direction" = "receive" ]; then if ! has_access "$repo_path" "w"; then perror "An error occured: No such file or directory." |