From b44721f225f2a2390b8edc2fc45a491d7596beeb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 14 Nov 2009 02:00:18 +0100 Subject: [PATCH] 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 --- initscript/mandriva/avahi-daemon.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: " -- 2.39.5