diff options
| author | 2026-08-03 15:01:15 +0200 | |
|---|---|---|
| committer | 2026-08-03 15:01:15 +0200 | |
| commit | c13506c41a21ae32125f31097b868ac090b926c1 (patch) | |
| tree | 4e628e6fdcd06a1eb6a75a63675b49848b5e23e3 /src | |
| parent | a5f7be472ab80385ba9ea65c8d4684645a460ed2 (diff) | |
Use -- to prevent further commands passed through variables
Diffstat (limited to 'src')
| -rwxr-xr-x | src/git-run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git-run b/src/git-run index 6d541d0..ec27989 100755 --- a/src/git-run +++ b/src/git-run @@ -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'" |
