From: Darshaka Pathirana Date: Fri, 5 Mar 2021 16:51:55 +0000 (+0100) Subject: usr_sbin/noprompt: Fix a couple of shellcheck warnings X-Git-Tag: v2.11.0~1^2~4 X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=commitdiff_plain;h=c766750061a46a42f80ce2b78a8b5b0784767d6d usr_sbin/noprompt: Fix a couple of shellcheck warnings - SC2048: Use "$@" (with quotes) to prevent whitespace problems. - SC2086: Double quote to prevent globbing and word splitting. --- diff --git a/usr_sbin/noprompt b/usr_sbin/noprompt index d73786e..ff8b573 100755 --- a/usr_sbin/noprompt +++ b/usr_sbin/noprompt @@ -7,6 +7,6 @@ ################################################################################ touch /etc/noprompt -exec $* +exec "$@" ## END OF FILE #################################################################