Commit 5693f7de authored by Russ Fish's avatar Russ Fish
Browse files

Tweak route setup retry logic.

parent 6ad49def
......@@ -573,9 +573,10 @@ sub os_routing_add_manual($$$$$;$)
# the IP Address Table for the machine.
# Re-doing the command later succeeds.
# Wrap the route command in a loop to make sure it gets done.
$cmd = "while ! ( route print | grep -Fq $destip ); do \n
$cmd = "while ! ( $ROUTE print | grep -Fq $destip ); do \n
echo $cmd;\n
sleep 5\n
return $cmd;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment