Commit c6c0c1c6 authored by Maarten de Waard's avatar Maarten de Waard 🤘🏻

use seq for generating a sequence

parent 40e87162
......@@ -473,7 +473,7 @@ wait_for_connection()
{
url=$1
timeout=$2
for i in 1 .. $2
for i in $(seq 1 $2)
do
ping -W 1 $url -c 1
if [ $? -eq 0 ]; then
......
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