We need to shift here.
This commit is contained in:
parent
5338b568ca
commit
a16428da20
@ -171,6 +171,7 @@ while [ -n "$1" ]; do
|
|||||||
continue 2
|
continue 2
|
||||||
else
|
else
|
||||||
if [ "${_cmd}" = "start" -o "${_cmd}" = "stop" ]; then
|
if [ "${_cmd}" = "start" -o "${_cmd}" = "stop" ]; then
|
||||||
|
shift
|
||||||
continue 2
|
continue 2
|
||||||
else
|
else
|
||||||
eerror "${SVCNAME}: function \`$1' defined but does not exist"
|
eerror "${SVCNAME}: function \`$1' defined but does not exist"
|
||||||
|
Loading…
Reference in New Issue
Block a user