Skip to content

Commit

Permalink
Restore silent mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiceatscion committed Sep 17, 2024
1 parent ebb3d8c commit c66c5ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/await-connectivity
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ main() {
local cores=$(sed -n '1,/Non-core/{s/^- //p}' gen/as_list.yml)
local noncores=$(sed -n '/Non-core/,${s/^- //p}' gen/as_list.yml)

# for i in $(seq 1 "$QUIET"); do
# check_connectivity "$cores" "$noncores" > /dev/null && return 0
# sleep 1
# done
for i in $(seq 1 "$QUIET"); do
check_connectivity "$cores" "$noncores" > /dev/null && return 0
sleep 1
done
for i in $(seq "$QUIET" $((TIMEOUT-1))); do
echo "Check after ${i}s"
check_connectivity "$cores" "$noncores" && return 0
Expand Down

0 comments on commit c66c5ad

Please sign in to comment.