ipset: always resolve ipban list

This commit is contained in:
bol-van
2022-06-18 15:43:15 +03:00
parent a4e36eb067
commit d8749c7550
5 changed files with 28 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ IPSET_DIR="$(cd "$IPSET_DIR"; pwd)"
# useful in case ipban set is used in custom scripts
FAIL=
getuser || FAIL=1
getipban || FAIL=1
"$IPSET_DIR/create_ipset.sh"
[ -n "$FAIL" ] && exit