summaryrefslogtreecommitdiff
path: root/src/share
diff options
context:
space:
mode:
Diffstat (limited to 'src/share')
-rw-r--r--src/share/common4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/common b/src/share/common
index 50c9f61..34ac52d 100644
--- a/src/share/common
+++ b/src/share/common
@@ -103,12 +103,12 @@ su_monkeysphere_user() {
case $(id -un) in
# if monkeysphere user, run the command under bash
"$MONKEYSPHERE_USER")
- bash -c "$@"
+ bash -c "$*"
;;
# if root, su command as monkeysphere user
'root')
- su "$MONKEYSPHERE_USER" -c "$@"
+ su "$MONKEYSPHERE_USER" -c "$*"
;;
# otherwise, fail