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.
pull/2182/head
Michael Orlitzky 2018-07-15 16:49:49 -04:00
parent 36a7abe82f
commit 87e9cff065
1 changed files with 1 additions and 1 deletions

View File

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