summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-03-06 14:53:01 +0000
committerPeter Palfrader <peter@palfrader.org>2006-03-06 14:53:01 +0000
commit77ec41d3187ea9b8c158452734f9a7b5b1d93fcf (patch)
tree264c8b21cc74e9adf318ab1f2e4aa8f0eb9b201d
parente7213fc062586bbcf8e2e104a3a6a668617be477 (diff)
Also quote USER and DAEMON, just because.
-rwxr-xr-xdebian/echolot.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/echolot.init b/debian/echolot.init
index 6d4d121..bb8986d 100755
--- a/debian/echolot.init
+++ b/debian/echolot.init
@@ -143,9 +143,9 @@ process|add|delete|set|setremailercaps|deleteremailercaps|getkeyconf|sendpings|s
CUID=`id -u`
CUIDNAME=`id -nu`
if [ "$CUIDNAME" = "$USER" ]; then
- $DAEMON "$@"
+ "$DAEMON" "$@"
elif [ "$CUID" = "0" ]; then
- su $USER -c "$DAEMON $@"
+ su "$USER" -c "$DAEMON $@"
else
echo "You are neither $USER nor root. Aborting." >&2
exit 1;