diff options
-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 |