diff options
| author | 2025-10-20 09:11:42 +0200 | |
|---|---|---|
| committer | 2025-10-20 09:11:42 +0200 | |
| commit | baaa4d83c98b42a1df98e70b972774ad8f5b8ead (patch) | |
| tree | ef7803e8119fd6f17f4e80faec8fb1bbc78573a8 /run | |
| parent | 2b3d58459a21e17d6650c54fc4f357c576ff5133 (diff) | |
Tightened regex and made tiny variable adjustment. no functional change
Diffstat (limited to 'run')
| -rwxr-xr-x | run | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ set -l gitCommand $matcher[1] set -l repo $matcher[2] set -l repoDir srv repos set -l repoDir /(string join -n '/' $repoDir (string split '/' $repo)) -cat $REPO_PERMISSIONS | grep -q -E "^$repoDir:$checkUser" +cat $REPO_PERMISSIONS | grep -q -E "^$repoDir:$checkUser\$" or exit 1; # run command |
