mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
Fixed error when using a user which doesn't have a default shell (like the default munin user on Debian/Ubuntu)
This commit is contained in:
parent
f7e6511f23
commit
d5caa85c06
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ def generate_git_command(repo_conf, git_command):
|
|||
quote(repo_conf['path']),
|
||||
quote(conf['git_path']),
|
||||
' '.join(git_command))
|
||||
cmd = ['su', '-', repo_conf['user'], '-c', shell_cmd]
|
||||
cmd = ['su', '-', repo_conf['user'], '-s', '/bin/sh', '-c', shell_cmd]
|
||||
return cmd
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue