fix openrc init script

This commit is contained in:
2021-03-10 11:52:16 +01:00
parent 744641b742
commit d17679a389

View File

@@ -40,7 +40,7 @@ start_pre() {
} }
stop_pre() { stop_pre() {
if [ "${RC_CMD}" != "restart" ]; then if [ "${RC_CMD}" == "restart" ]; then
checkconfig || return $? checkconfig || return $?
fi fi
} }