~mdw
/
rcheck
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rcheck: Supply a default list of hosts if none are given.
[rcheck]
/
rcheck
diff --git
a/rcheck
b/rcheck
index
318aab6
..
c4f59a8
100755
(executable)
--- a/
rcheck
+++ b/
rcheck
@@
-12,6
+12,8
@@
do
prog=$(readlink "${prog##*/}")
done
+case $# in 0) set -- $(expand-list /etc/slaves :rcheck_hosts) ;; esac
+
exec 4>&1
rc=0
for host in "$@"; do