From f6e0de976f05ad7e9e796896864d73c41c48330c Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 25 Jul 2020 23:50:10 +0200 Subject: removed testing echos --- gitwrapper.sh | 2 -- 1 file changed, 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." -- cgit v1.2.3