Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
OniriCorpe committed Nov 26, 2023
1 parent 38415db commit 27c933e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/fail2ban
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 27c933e

Please sign in to comment.