files/fail2ban-openrc.init.in: remove redundant "return" from start_pre.

OpenRC functions will exit with the return code from the last command
by default, so there's no need for the "|| return 1" in our
single-line start_pre() phase.
This commit is contained in:
Michael Orlitzky 2018-07-15 16:49:49 -04:00
parent 36a7abe82f
commit 87e9cff065

View file

@ -44,7 +44,7 @@ depend() {
}
start_pre() {
checkpath -d "${FAIL2BAN_RUNDIR}" || return 1
checkpath -d "${FAIL2BAN_RUNDIR}"
}
reload() {