* [meta-security][PATCH] fail2ban: fix runtime error
@ 2020-01-04 23:26 Armpit
0 siblings, 0 replies; only message in thread
From: Armpit @ 2020-01-04 23:26 UTC (permalink / raw)
To: yocto
use success/failure calls in initd/function
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
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
--
2.17.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-04 23:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-04 23:26 [meta-security][PATCH] fail2ban: fix runtime error Armpit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox