diff options
Diffstat (limited to 'system/gitolite/gitolite')
-rw-r--r-- | system/gitolite/gitolite | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/gitolite/gitolite b/system/gitolite/gitolite index af1c0bb5ab..332e43ab4a 100644 --- a/system/gitolite/gitolite +++ b/system/gitolite/gitolite @@ -5,5 +5,5 @@ GL_USER=@GL_USER@ if [ "$(whoami)" == "$GL_USER" ]; then /usr/libexec/gitolite/gitolite ${@} else - su -c "/usr/libexec/gitolite/gitolite ${@}" $GL_USER + sudo -u $GL_USER -- "$0" "$@" fi |