From aed62f54eb82151b2007e6d04ca0b8dd7367eb64 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 31 Jul 2016 00:52:42 +1200 Subject: Add a shellcheck exception --- bin/sta | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/sta') diff --git a/bin/sta b/bin/sta index b5ae56f5..396a2015 100755 --- a/bin/sta +++ b/bin/sta @@ -2,6 +2,7 @@ # Print list of sls(1) hostnames that exit 0 when a connection is attempted # and the optional given command is run. Discard stdout, but preserve stderr. sls | while read -r hostname ; do + # shellcheck disable=SC2029 ssh -nq -- "$hostname" "$@" >/dev/null || continue printf '%s\n' "$hostname" done -- cgit v1.2.3