[package] fix wrong logic in named init script (#4691)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 12 Apr 2009 14:53:08 +0000 (14:53 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 12 Apr 2009 14:53:08 +0000 (14:53 +0000)
SVN-Revision: 15216

net/bind/files/named.init

index b845e89..8188b18 100644 (file)
@@ -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