diff options
author | Roy Marples <roy@marples.name> | 2008-01-22 20:48:24 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-22 20:48:24 +0000 |
commit | a16428da20e4acc60bba7ace8e81a669a2b9c7b0 (patch) | |
tree | d3837ac4a7631adfddd76d6930bf0793cdcba149 /sh | |
parent | 5338b568cafa1d9382464cb0b45e957775f3af09 (diff) |
We need to shift here.
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/runscript.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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" |