diff --git a/plugins/git/git_commit_behind b/plugins/git/git_commit_behind index 759fd902..e77d3ed3 100755 --- a/plugins/git/git_commit_behind +++ b/plugins/git/git_commit_behind @@ -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