slightly less of a busywait

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-27 11:49:52 +00:00
parent 896195ffa4
commit b2d14702bf
+1
View File
@@ -11,6 +11,7 @@ ready() {
until [[ "$(ip link show $cfg_iface up)" ]]; do
(( timer >= timeout )) && { return 1; }
(( timer++ ))
sleep 0.1
done
}