Skip to contentSkip to conversation

fail2ban: fix runtime error

PATCH New Armpit 1 participant 1 message Jan 4, 2020

lore
Share & tools
lore

Armpit

author
#0 lore raw

PATCH 1/1 fail2ban: fix runtime error

use success/failure calls in initd/function

---
 recipes-security/fail2ban/files/initd | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-security/fail2ban/files/initd +4 -4
index 4f4b394..586b3da 100644
@@ -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
Signature · 1 line
2.17.1