Format ping output as one line.

This commit is contained in:
Marc CARRE committed 2017-01-09 09:17:45 +00:00
1 parent 04cc4edf26
commit 61375fb785
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ whitely echo Ping each host from the other
for host in $HOSTS; do
for other in $HOSTS; do
if [ "$host" != "$other" ]; then
run_on $host $PING $other &
echo $(run_on $host $PING $other) &
pids="$pids $!"
fi
done