Fix shellcheck issues

This commit is contained in:
fancsali 2021-05-04 17:48:15 +01:00
parent b276bf8741
commit 6a3ba5a140
1 changed files with 2 additions and 2 deletions

View File

@ -38,9 +38,9 @@ __file /etc/fail2ban/jail.local --mode 644
export require="__file/etc/fail2ban/jail.local"
(
echo [$__object_id]
echo "[$__object_id]"
echo "enabled = true"
if [ -f "$__object/parameter/override" ]; then
cat "$__object/parameter/override"
fi
) | __block /etc/fail2ban/jail.local:$__object_id --file /etc/fail2ban/jail.local --text -
) | __block "/etc/fail2ban/jail.local:$__object_id" --file /etc/fail2ban/jail.local --text -