clean up stats scripts

This commit is contained in:
Daniel Micay 2023-07-16 01:25:16 -04:00
parent 15302563f2
commit 6b0eec9218
2 changed files with 2 additions and 4 deletions

View File

@ -2,14 +2,13 @@
set -o errexit -o nounset -o pipefail
[[ $# -ge 1 ]] || exit 1
[[ $# -eq 1 ]] || exit 1
user=root
. hosts.sh
declare -n hosts=hosts_$1
shift
for host in ${hosts[@]}; do
echo $host
echo

View File

@ -2,14 +2,13 @@
set -o errexit -o nounset -o pipefail
[[ $# -ge 1 ]] || exit 1
[[ $# -eq 1 ]] || exit 1
user=root
. hosts.sh
declare -n hosts=hosts_$1
shift
for host in ${hosts[@]}; do
echo $host
echo