From 152823d616fc3f4ef09029c803377bd8655b4e3e Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 12 Apr 2009 14:53:08 +0000 Subject: [PATCH] [package] fix wrong logic in named init script (#4691) git-svn-id: svn://svn.openwrt.org/openwrt/packages@15216 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/bind/files/named.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bind/files/named.init b/net/bind/files/named.init index b845e898a..8188b185f 100644 --- a/net/bind/files/named.init +++ b/net/bind/files/named.init @@ -9,7 +9,7 @@ start() { /usr/sbin/named -c $config_file - if [ $? -eq 0 ] + if [ $? -ne 0 ] then echo " isc-bind failed to start" fi