summaryrefslogtreecommitdiff
path: root/src/git-run
diff options
context:
space:
mode:
authorGravatar Matthias Jaros <jarlucmat@mailbox.org>2026-08-03 15:08:19 +0200
committerGravatar Matthias Jaros <jarlucmat@mailbox.org>2026-08-03 15:08:19 +0200
commitd9f7723f9ce0a2c40089184a411f005ed463a6f3 (patch)
treee2a2d80ad1f1415a31c406c462562a900f5756e4 /src/git-run
parentc13506c41a21ae32125f31097b868ac090b926c1 (diff)
Fixed -- not working as intended. Added git-run as prefix to easier
distinguish it from normal sshd log
Diffstat (limited to 'src/git-run')
-rwxr-xr-xsrc/git-run4
1 files 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'"