Browse Source

gentoo-initd: do not hide useful output

Gentoo applies a patch for this: https://bugs.gentoo.org/show_bug.cgi?id=536320
pull/1311/head
Louis Sautier 9 years ago
parent
commit
294a7790a9
No known key found for this signature in database
GPG Key ID: 2CDF7FDA862B29FB
  1. 6
      files/gentoo-initd

6
files/gentoo-initd

@ -34,19 +34,19 @@ start() {
# remove stalled sock file after system crash
# bug 347477
rm -f /var/run/fail2ban/fail2ban.sock || return 1
${FAIL2BAN} start &> /dev/null
${FAIL2BAN} start
eend $? "Failed to start fail2ban"
}
stop() {
ebegin "Stopping fail2ban"
${FAIL2BAN} stop &> /dev/null
${FAIL2BAN} stop
eend $? "Failed to stop fail2ban"
}
reload() {
ebegin "Reloading fail2ban"
${FAIL2BAN} reload > /dev/null
${FAIL2BAN} reload
eend $? "Failed to reload fail2ban"
}

Loading…
Cancel
Save