diff options
| author | 2026-08-03 15:08:19 +0200 | |
|---|---|---|
| committer | 2026-08-03 15:08:19 +0200 | |
| commit | d9f7723f9ce0a2c40089184a411f005ed463a6f3 (patch) | |
| tree | e2a2d80ad1f1415a31c406c462562a900f5756e4 /src | |
| parent | c13506c41a21ae32125f31097b868ac090b926c1 (diff) | |
Fixed -- not working as intended. Added git-run as prefix to easier
distinguish it from normal sshd log
Diffstat (limited to 'src')
| -rwxr-xr-x | src/git-run | 4 |
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'" |
