Make status in lsb init script more return useful exit status
authorAdrian Likins <alikins@redhat.com>
Tue, 19 May 2009 16:29:32 +0000 (12:29 -0400)
committerAdrian Likins <alikins@redhat.com>
Tue, 19 May 2009 16:29:32 +0000 (12:29 -0400)
Reported by Darryl Dixon <darryl.dixon@winterhouseconsulting.com>

init-scripts/certmaster

index 6cfe4c2..5e6f0b1 100755 (executable)
@@ -39,6 +39,7 @@ CAStatus()
     RVAL=3
     echo "certmaster is not running"
   fi
+  return $RVAL
 }
 
 if [ -f /lib/lsb/init-functions ]; then