From d9f7723f9ce0a2c40089184a411f005ed463a6f3 Mon Sep 17 00:00:00 2001 From: Matthias Jaros Date: Mon, 3 Aug 2026 15:08:19 +0200 Subject: Fixed -- not working as intended. Added git-run as prefix to easier distinguish it from normal sshd log --- src/git-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/git-run b/src/git-run index ec27989..87f6155 100755 --- a/src/git-run +++ b/src/git-run @@ -14,7 +14,7 @@ set currentUser (whoami) ### function log --on-event log - echo "$argv[1..2] user=$currentUser $argv[3..] ip=$SSH_CONNECTION" >> $_LOG + echo "git-run: $argv[1..2] user=$currentUser $argv[3..] ip=$SSH_CONNECTION" >> $_LOG end function parseCommand @@ -84,4 +84,4 @@ begin emit log ALLOW ok "argv=$argv" end &>>$_LOG -exec /usr/bin/sudo -n -u git /usr/bin/git-shell -c -- "$gitCommand '$repoDir'" +exec /usr/bin/sudo -n -u git /usr/bin/git-shell -c "$gitCommand '$repoDir'" -- cgit v1.3.1