From 5338b568cafa1d9382464cb0b45e957775f3af09 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 22 Jan 2008 19:39:03 +0000 Subject: [PATCH] Allow stop start to work when stop is not defined. --- sh/runscript.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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