From 77ec41d3187ea9b8c158452734f9a7b5b1d93fcf Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 6 Mar 2006 14:53:01 +0000 Subject: Also quote USER and DAEMON, just because. --- debian/echolot.init | 4 ++-- 1 file 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; -- cgit v1.2.3