From: florian Date: Sun, 12 Apr 2009 14:53:08 +0000 (+0000) Subject: [package] fix wrong logic in named init script (#4691) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=152823d616fc3f4ef09029c803377bd8655b4e3e;p=packages.git [package] fix wrong logic in named init script (#4691) git-svn-id: svn://svn.openwrt.org/openwrt/packages@15216 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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