aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-26 16:46:53 +0000
committerRoy Marples <roy@marples.name>2008-01-26 16:46:53 +0000
commit3e5743426b32b8191f78e78f0ecc1c455b711952 (patch)
tree5601563d757a08c0506d2854183a30ed0431a368 /sh
parent829f4d281cd7a3ee36cdb6a75d1347aacf478669 (diff)
Fix restart --nodeps again.
Diffstat (limited to 'sh')
-rwxr-xr-xsh/runscript.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/runscript.sh b/sh/runscript.sh
index 99ae3129..63c780a6 100755
--- a/sh/runscript.sh
+++ b/sh/runscript.sh
@@ -171,7 +171,8 @@ while [ -n "$1" ]; do
continue 2
else
if [ "${_cmd}" = "start" -o "${_cmd}" = "stop" ]; then
- exit 0
+ shift
+ continue 2
else
eerror "${SVCNAME}: function \`$1' defined but does not exist"
exit 1