Format ping output as one line.
This commit is contained in:
1 parent
04cc4edf26
commit
61375fb785
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user