From 27c933ee6d53f9a274907914273e52b5b6f7bf17 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 26 Nov 2023 20:47:03 +0100 Subject: [PATCH] fix comment --- helpers/fail2ban | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/fail2ban b/helpers/fail2ban index 2911d43d75..5266008aa5 100644 --- a/helpers/fail2ban +++ b/helpers/fail2ban @@ -101,7 +101,7 @@ ignoreregex = ynh_add_config --template="f2b_filter.conf" --destination="/etc/fail2ban/filter.d/$app.conf" # if "$logpath" doesn't exist (as if using --use_template argument), assign - # "$logpath" using the one in the package's conf/f2b_jail.conf template + # "$logpath" using the one in the previously generated fail2ban conf file if [ -z "$logpath" ]; then # the first sed deletes possibles spaces and the second one extract the path logpath=$(grep logpath "/etc/fail2ban/jail.d/$app.conf" | sed "s/ //g" | sed "s/logpath=//g")