1. Zhang Huangbin
  2. iredapd

Source

iredapd / rc_scripts / iredapd.freebsd

Diff from to

File rc_scripts/iredapd.freebsd

 
         if [ X"$s" == X"running" ]; then
             echo "${name} is running."
+            exit 0
         else
             echo "${name} is stopped."
+            exit 1
         fi
     else
         echo "${name} is stopped."
+        exit 3
     fi
-    unset s
 }
 
 empty(){