Allow stop start to work when stop is not defined.
This commit is contained in:
1 parent
649a710552
commit
5338b568ca
1 file changed
+1
-1
+1
-1
@@ -171,7 +171,7 @@ while [ -n "$1" ]; do
|
||||
continue 2
|
||||
else
|
||||
if [ "${_cmd}" = "start" -o "${_cmd}" = "stop" ]; then
|
||||
exit 0
|
||||
continue 2
|
||||
else
|
||||
eerror "${SVCNAME}: function \`$1' defined but does not exist"
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user