mirror of https://github.com/fail2ban/fail2ban
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
parent
36a7abe82f
commit
87e9cff065
|
@ -44,7 +44,7 @@ depend() {
|
|||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d "${FAIL2BAN_RUNDIR}" || return 1
|
||||
checkpath -d "${FAIL2BAN_RUNDIR}"
|
||||
}
|
||||
|
||||
reload() {
|
||||
|
|
Loading…
Reference in New Issue