diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-11 14:02:35 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-11 14:02:35 +1300 |
commit | db7af1220263e154370a0f9c859e2107fbbaa0bb (patch) | |
tree | 855563c6befab29453be2a6275d7b0334ef3d549 /bin/shock | |
parent | Remove unused variable (diff) | |
download | dotfiles-db7af1220263e154370a0f9c859e2107fbbaa0bb.tar.gz dotfiles-db7af1220263e154370a0f9c859e2107fbbaa0bb.zip |
Silence SC2029 error from shellcheck
It warns me that the "$@" expansion will occur client side, which is
intentional, and there doesn't seem to be a way I can appease it
otherwise.
Diffstat (limited to 'bin/shock')
-rwxr-xr-x | bin/shock | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ fi # Execute command, print hostname if it returns zero while read -r hostname ; do + # shellcheck disable=SC2029 if ssh -nq -- "$hostname" "$@" >/dev/null ; then printf '%s\n' "$hostname" fi |