]> git.meshlink.io Git - catta/commitdiff
Fix two bashisms
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Dec 2008 19:22:07 +0000 (20:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Dec 2008 19:22:07 +0000 (20:22 +0100)
Fixes rhbz #449142

initscript/fedora/avahi-daemon.in
initscript/fedora/avahi-dnsconfd.in

index 59f854e7e01da5428b675d0abcbc61b3d482a647..c5b32307d2f4e85c55e7761a8e7b1b40a5e975aa 100644 (file)
@@ -12,7 +12,7 @@
 
 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
index 284c10bf8d62d568eaa842b18680735ebb0fb8c7..de49d7f8a70e7f50489e1cbed347159fe06359a3 100644 (file)
@@ -12,7 +12,7 @@
 
 AVAHI_BIN=@sbindir@/avahi-dnsconfd
 
-if [ "$1" == 'status' ]; then
+if [ "$1" = 'status' ]; then
     test -x $AVAHI_BIN || exit 4
 else
     test -x $AVAHI_BIN || exit 5