A better fix would be to do the following, which is pretty standard in other initscript's status blocks:
--- /etc/init.d/unbound 2013-01-16 13:39:10.550755997 -0500
+++ /tmp/unbound 2013-01-16 13:37:41.014860900 -0500
@@ -145,9 +145,7 @@
;;
status)
- status="4"
- status_of_proc -p $PIDFILE $DAEMON $NAME || status="$?"
- exit $status
+ status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
;;
*)
pgpQpewN7pRgp.pgp
Description: PGP signature
--- /etc/init.d/unbound 2013-01-16 13:39:10.550755997 -0500
+++ /tmp/unbound 2013-01-16 13:37:41.014860900 -0500
@@ -145,9 +145,7 @@
;;
status)
- status="4"
- status_of_proc -p $PIDFILE $DAEMON $NAME || status="$?"
- exit $status
+ status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
;;
*)
--

