]> git.pld-linux.org Git - packages/bind.git/commitdiff
- include rndc status in status exitcode
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 4 Dec 2006 22:12:22 +0000 (22:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    named.init -> 1.30

named.init

index 4c8f01d2ed77f522462419a5647573bcc4ed829b..0d9003bee0c08f8b8ccc4df60d0d0c1a1a564de1 100644 (file)
@@ -72,7 +72,10 @@ case "$1" in
        RETVAL=$?
        if [ -f /etc/rndc.conf ]; then
                /usr/sbin/rndc status
-#              RETVAL=$?
+               RET=$?
+               if [ $RET -ne 0 ]; then
+                       RETVAL=$RET
+               fi
        fi
        ;;
   reload|force-reload)
This page took 0.036094 seconds and 4 git commands to generate.