summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsh/runscript.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/runscript.sh b/sh/runscript.sh
index a59584c..3e3ce4c 100755
--- a/sh/runscript.sh
+++ b/sh/runscript.sh
@@ -171,7 +171,7 @@ while [ -n "$1" ]; do
continue 2
else
if [ "${_cmd}" = "start" -o "${_cmd}" = "stop" ]; then
- exit 0
+ continue 2
else
eerror "${SVCNAME}: function \`$1' defined but does not exist"
exit 1