From b72cc7f87c0380fcc079c531683eb890a5a0305e Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sat, 4 Jan 2020 15:22:47 -0800 Subject: fail2ban: fix runtime error use success/failure calls in initd/function Signed-off-by: Armin Kuster --- recipes-security/fail2ban/files/initd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-security/fail2ban/files/initd b/recipes-security/fail2ban/files/initd index 4f4b394..586b3da 100644 --- a/recipes-security/fail2ban/files/initd +++ b/recipes-security/fail2ban/files/initd @@ -39,9 +39,9 @@ start() { RETVAL=$? if [ $RETVAL = 0 ]; then touch ${lockfile} - echo_success + success else - echo_failure + failure fi echo return $RETVAL @@ -53,9 +53,9 @@ stop() { RETVAL=$? if [ $RETVAL = 0 ]; then rm -f ${lockfile} ${pidfile} - echo_success + success else - echo_failure + failure fi echo return $RETVAL -- cgit v1.2.3-54-g00ecf