From a16428da20e4acc60bba7ace8e81a669a2b9c7b0 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 22 Jan 2008 20:48:24 +0000 Subject: We need to shift here. --- sh/runscript.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/sh/runscript.sh b/sh/runscript.sh index 3e3ce4cc..efa40f13 100755 --- a/sh/runscript.sh +++ b/sh/runscript.sh @@ -171,6 +171,7 @@ while [ -n "$1" ]; do continue 2 else if [ "${_cmd}" = "start" -o "${_cmd}" = "stop" ]; then + shift continue 2 else eerror "${SVCNAME}: function \`$1' defined but does not exist" -- cgit v1.2.3