diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2019-02-15 15:00:30 -0500 |
---|---|---|
committer | Viktor Szépe <viktor@szepe.net> | 2019-02-17 09:08:32 +0000 |
commit | 62f957973df4c24300c3932b2115bd80545003ba (patch) | |
tree | 92084ad2c48300a19867065ea4c14b67eac4beaa /files | |
parent | dfd2a2063d320f93b2bb7f33d38d3f8403097984 (diff) | |
download | fail2ban-62f957973df4c24300c3932b2115bd80545003ba.tar.gz |
ENH: disable shell check for $DAEMON_ARGS expansion
Diffstat (limited to 'files')
-rwxr-xr-x | files/debian-initd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/files/debian-initd b/files/debian-initd index 24d40b87..0f353976 100755 --- a/files/debian-initd +++ b/files/debian-initd @@ -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 |