diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-31 00:51:32 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-31 00:51:32 +1200 |
commit | aaf282eb75ecad7dd93937f1fc470365743499c4 (patch) | |
tree | 0b3b943d5e5f46a543dc536e0355ae2cc840c8ad /bin/sta | |
parent | Simplify plmu(1) and make it POSIX sh (diff) | |
download | dotfiles-aaf282eb75ecad7dd93937f1fc470365743499c4.tar.gz dotfiles-aaf282eb75ecad7dd93937f1fc470365743499c4.zip |
Correct "return" to "exit" in shell scripts
Diffstat (limited to 'bin/sta')
-rwxr-xr-x | bin/sta | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# Print list of sls(1) hostnames that return 0 when a connection is attempted +# 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 ssh -nq -- "$hostname" "$@" >/dev/null || continue |