From 5cdcc2b1e250ba5b701d4094f9561ca957d08fc9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Dec 2008 20:22:07 +0100 Subject: [PATCH] Fix two bashisms Fixes rhbz #449142 --- initscript/fedora/avahi-daemon.in | 2 +- initscript/fedora/avahi-dnsconfd.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5