From: Daniel Kahn Gillmor Date: Thu, 12 Feb 2009 23:53:17 +0000 (-0500) Subject: su_monkeysphere_user now invokes a subshell even when already called by the monkeysph... X-Git-Tag: monkeysphere_0.23~99^2~1 X-Git-Url: https://codewiz.org/gitweb?p=monkeysphere.git;a=commitdiff_plain;h=6ac65451b22d7112c986f632984db6691c7a3b2a su_monkeysphere_user now invokes a subshell even when already called by the monkeysphere user. --- diff --git a/src/share/common b/src/share/common index d60631e..42df684 100644 --- a/src/share/common +++ b/src/share/common @@ -95,7 +95,7 @@ su_monkeysphere_user() { # if the current user is the monkeysphere user, then just eval # command if [ $(id -un) = "$MONKEYSPHERE_USER" ] ; then - eval "$@" + bash -c "$@" # otherwise su command as monkeysphere user else