diff options
Diffstat (limited to 'src/share')
-rwxr-xr-x | src/share/common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/common b/src/share/common index 78fb04e..9329ce4 100755 --- a/src/share/common +++ b/src/share/common @@ -106,9 +106,9 @@ su_monkeysphere_user() { local CMDLINE="$(perl -0 -e "foreach (@ARGV) {s/'/'\\\\''/g; print \"'\$_' \"}" "$@")" case $(id -un) in - # if monkeysphere user, run the command under bash + # if monkeysphere user, simply execute in current shell "$MONKEYSPHERE_USER") - bash -c "$CMDLINE" + "$@" ;; # if root, su command as monkeysphere user |