summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-12 18:53:17 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-12 18:53:17 -0500
commit6ac65451b22d7112c986f632984db6691c7a3b2a (patch)
tree15325af4f9abdba62fc803521c156ea4d18d9c3b /src
parent0dc13ca3b54ecd5ce311f88fed736aca1774b525 (diff)
su_monkeysphere_user now invokes a subshell even when already called by the monkeysphere user.
Diffstat (limited to 'src')
-rw-r--r--src/share/common2
1 files changed, 1 insertions, 1 deletions
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