mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
ENH: disable shell check for $DAEMON_ARGS expansion
This commit is contained in:
parent
dfd2a2063d
commit
62f957973d
1 changed files with 2 additions and 0 deletions
|
|
@ -123,6 +123,8 @@ do_start()
|
|||
find /proc/net/xt_recent -name "fail2ban-*" -exec chown "$FAIL2BAN_USER" "{}" ";"
|
||||
fi
|
||||
|
||||
# $DAEMON_ARGS need to be expanded possibly with multiple or no options
|
||||
# shellcheck disable=SC2086
|
||||
start-stop-daemon --start --quiet --chuid "$FAIL2BAN_USER" --exec "$DAEMON" -- \
|
||||
$DAEMON_ARGS start >/dev/null \
|
||||
|| return 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue