su_monkeysphere_user now invokes a subshell even when already called by the monkeysph...
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 12 Feb 2009 23:53:17 +0000 (18:53 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 12 Feb 2009 23:53:17 +0000 (18:53 -0500)
src/share/common

index d60631e0ab99e1c074d9b5fef9a5b9b863510c4b..42df68494fc9911c19b06896124baf7e426b8c41 100644 (file)
@@ -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