From 343224ac77e9573395f467d89ed41ba10f873075 Mon Sep 17 00:00:00 2001 From: bourreP Date: Thu, 10 Jan 2019 14:10:30 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8c36837..045e126 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,10 +103,10 @@ then inc=0 # Have to wait the time that gitlab reload - while [ $status_code == "502" ] && [ $inc < 10 ] + while [ $status_code == "502" ] && [ $inc -lt 10 ] do sleep 10; status_code=$(curl -s -o /dev/null -w '%{http_code}' "$domain${path_url%/}") ((inc++)) done; -fi; \ No newline at end of file +fi;