From 62f957973df4c24300c3932b2115bd80545003ba Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 15 Feb 2019 15:00:30 -0500 Subject: ENH: disable shell check for $DAEMON_ARGS expansion --- files/debian-initd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'files') 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 -- cgit v1.2.1