Skip to content
Snippets Groups Projects
Verified Commit 7878a96d authored by David Beniamine's avatar David Beniamine
Browse files

wait PIDS

parent 04824c30
Branches
No related tags found
No related merge requests found
Pipeline #74 failed
...@@ -62,4 +62,7 @@ for mac in $MACS ...@@ -62,4 +62,7 @@ for mac in $MACS
do do
ip=$(getip $mac) ip=$(getip $mac)
runcmd $ip $cmd & runcmd $ip $cmd &
PIDS="$PIDS $!"
done done
# wait all pids
wait $PIDS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment