aboutsummaryrefslogtreecommitdiff
path: root/sh/runscript.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-22 19:39:03 +0000
committerRoy Marples <roy@marples.name>2008-01-22 19:39:03 +0000
commit5338b568cafa1d9382464cb0b45e957775f3af09 (patch)
tree06874787d724f2234d5a3724825624dfc5898deb /sh/runscript.sh
parent649a71055294e9fa275ebb406361cf46c843cade (diff)
Allow stop start to work when stop is not defined.
Diffstat (limited to 'sh/runscript.sh')
-rwxr-xr-xsh/runscript.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/runscript.sh b/sh/runscript.sh
index a59584ce..3e3ce4cc 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