Skip to content

Commit

Permalink
use for loop instead of while
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Macku <[email protected]>
  • Loading branch information
xanoxes and jamacku authored Dec 23, 2024
1 parent 5239199 commit 42bf1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network-scripts/ifup-eth
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ else
exit 1
fi
done
if [ "${tries}" -gt "${ARPING_TRIES}" ]; then
if [ "${tries}" -eq "${ARPING_TRIES}" ]; then
net_log $"arping failed after $tries tries"
exit 1
fi
Expand Down

0 comments on commit 42bf1fd

Please sign in to comment.