From: Lennart Poettering Date: Thu, 11 Dec 2008 19:22:07 +0000 (+0100) Subject: Fix two bashisms X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=5cdcc2b1e250ba5b701d4094f9561ca957d08fc9;p=catta Fix two bashisms Fixes rhbz #449142 --- diff --git a/initscript/fedora/avahi-daemon.in b/initscript/fedora/avahi-daemon.in index 59f854e..c5b3230 100644 --- a/initscript/fedora/avahi-daemon.in +++ b/initscript/fedora/avahi-daemon.in @@ -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 diff --git a/initscript/fedora/avahi-dnsconfd.in b/initscript/fedora/avahi-dnsconfd.in index 284c10b..de49d7f 100644 --- a/initscript/fedora/avahi-dnsconfd.in +++ b/initscript/fedora/avahi-dnsconfd.in @@ -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