mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
fix comment
This commit is contained in:
parent
38415db273
commit
27c933ee6d
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue