From: Lennart Poettering Date: Sat, 14 Nov 2009 01:00:18 +0000 (+0100) Subject: init: Fix mandriva initscript to properly quote potentially empty variables when... X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=b44721f225f2a2390b8edc2fc45a491d7596beeb;p=catta init: Fix mandriva initscript to properly quote potentially empty variables when testing http://avahi.org/ticket/281 Patch from the Mandriva guys: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/avahi/current/SOURCES/avahi-0.6.25-fix-chroot.patch?view=log --- diff --git a/initscript/mandriva/avahi-daemon.in b/initscript/mandriva/avahi-daemon.in index f285d3b..d81b9a2 100644 --- a/initscript/mandriva/avahi-daemon.in +++ b/initscript/mandriva/avahi-daemon.in @@ -17,7 +17,7 @@ test -x $AVAHI_BIN || exit 5 . /etc/sysconfig/network # Check that networking is configured. -[ ${NETWORKING} = "no" ] && exit 0 +[ "${NETWORKING}" = "no" ] && exit 0 start() { echo -n $"Starting Avahi daemon: "