From 32ae3e686db067a2a63932782970db79eb1703e8 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Tue, 31 Jan 2017 13:50:30 +0100 Subject: verify-bashisms: revise update-rc.d whitelist entry The actual code recently changed to: if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then Signed-off-by: Patrick Ohly Signed-off-by: Richard Purdie --- scripts/verify-bashisms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/verify-bashisms') diff --git a/scripts/verify-bashisms b/scripts/verify-bashisms index 613f174a97..df071e3b90 100755 --- a/scripts/verify-bashisms +++ b/scripts/verify-bashisms @@ -6,7 +6,7 @@ whitelist = ( # type is supported by dash 'if type systemctl >/dev/null 2>/dev/null; then', 'if type systemd-tmpfiles >/dev/null 2>/dev/null; then', - 'if type update-rc.d >/dev/null 2>/dev/null; then', + 'type update-rc.d >/dev/null 2>/dev/null; then', 'command -v', # HOSTNAME is set locally 'buildhistory_single_commit "$CMDLINE" "$HOSTNAME"', -- cgit 1.2.3-korg