Fix restart --nodeps again.
This commit is contained in:
parent
829f4d281c
commit
3e5743426b
@ -171,7 +171,8 @@ while [ -n "$1" ]; do
|
|||||||
continue 2
|
continue 2
|
||||||
else
|
else
|
||||||
if [ "${_cmd}" = "start" -o "${_cmd}" = "stop" ]; then
|
if [ "${_cmd}" = "start" -o "${_cmd}" = "stop" ]; then
|
||||||
exit 0
|
shift
|
||||||
|
continue 2
|
||||||
else
|
else
|
||||||
eerror "${SVCNAME}: function \`$1' defined but does not exist"
|
eerror "${SVCNAME}: function \`$1' defined but does not exist"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user