diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-31 00:52:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-31 00:52:42 +1200 |
commit | aed62f54eb82151b2007e6d04ca0b8dd7367eb64 (patch) | |
tree | 93e1594315917537b59f1f9e4fe4cb61611dfba2 /bin/sta | |
parent | Correct "return" to "exit" in shell scripts (diff) | |
download | dotfiles-aed62f54eb82151b2007e6d04ca0b8dd7367eb64.tar.gz dotfiles-aed62f54eb82151b2007e6d04ca0b8dd7367eb64.zip |
Add a shellcheck exception
Diffstat (limited to 'bin/sta')
-rwxr-xr-x | bin/sta | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |