diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-03-06 14:53:01 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2006-03-06 14:53:01 +0000 |
commit | 77ec41d3187ea9b8c158452734f9a7b5b1d93fcf (patch) | |
tree | 264c8b21cc74e9adf318ab1f2e4aa8f0eb9b201d /debian/echolot.init | |
parent | e7213fc062586bbcf8e2e104a3a6a668617be477 (diff) |
Also quote USER and DAEMON, just because.
Diffstat (limited to 'debian/echolot.init')
-rwxr-xr-x | debian/echolot.init | 4 |
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; |