]> git.meshlink.io Git - catta/blobdiff - initscript/fedora/avahi-daemon.in
fix init scripts when called without any arguments. Closes rhbz 425491
[catta] / initscript / fedora / avahi-daemon.in
index f26757752833eb6a6bf14a3e2005e1d7a2126725..69fac9bad1901bdb05df1df2ab618f099780389e 100644 (file)
@@ -18,7 +18,7 @@ OTHER_AVAHI_OPTS=""
 
 AVAHI_BIN=@sbindir@/avahi-daemon
 
-if [ $1 == 'status' ]; then
+if [ "$1" == 'status' ]; then
     test -x $AVAHI_BIN || exit 4
 else 
     test -x $AVAHI_BIN || exit 5