Fix ynh_add_fail2ban_config legacy mode

Merged as a micro decision
Fix https://github.com/YunoHost/issues/issues/1313
This commit is contained in:
Maniack Crudelis 2019-02-26 01:59:03 +01:00 committed by GitHub
parent ac6f24671c
commit b3edc2a63c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -352,6 +352,7 @@ ynh_remove_fpm_config () {
#
ynh_add_fail2ban_config () {
# Declare an array to define the options of this helper.
local legacy_args=lrmptv
declare -Ar args_array=( [l]=logpath= [r]=failregex= [m]=max_retry= [p]=ports= [t]=use_template [v]=others_var=)
local logpath
local failregex