aboutsummaryrefslogtreecommitdiff
path: root/bin/sta
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-31 00:51:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-31 00:51:32 +1200
commitaaf282eb75ecad7dd93937f1fc470365743499c4 (patch)
tree0b3b943d5e5f46a543dc536e0355ae2cc840c8ad /bin/sta
parentSimplify plmu(1) and make it POSIX sh (diff)
downloaddotfiles-aaf282eb75ecad7dd93937f1fc470365743499c4.tar.gz
dotfiles-aaf282eb75ecad7dd93937f1fc470365743499c4.zip
Correct "return" to "exit" in shell scripts
Diffstat (limited to 'bin/sta')
-rwxr-xr-xbin/sta2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sta b/bin/sta
index 5d8ee825..b5ae56f5 100755
--- a/bin/sta
+++ b/bin/sta
@@ -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