summaryrefslogtreecommitdiffstats
path: root/modules/noise
diff options
context:
space:
mode:
Diffstat (limited to 'modules/noise')
-rwxr-xr-xmodules/noise/noise-as-user2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/noise/noise-as-user b/modules/noise/noise-as-user
index 15af5f03..21e4102f 100755
--- a/modules/noise/noise-as-user
+++ b/modules/noise/noise-as-user
@@ -1,4 +1,4 @@
#! /bin/sh
qname="`readlink -f "$0"`"
dirname="`dirname "$qname"`"
-exec sudo -u noise env -i TCPREMOTEIP="$TCPREMOTEIP" "$dirname/noise"
+exec su noise -c "env -i TCPREMOTEIP='$TCPREMOTEIP' '$dirname/noise'"