mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
Update upgrade
This commit is contained in:
parent
2628a58c64
commit
343224ac77
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ then
|
||||||
inc=0
|
inc=0
|
||||||
|
|
||||||
# Have to wait the time that gitlab reload
|
# Have to wait the time that gitlab reload
|
||||||
while [ $status_code == "502" ] && [ $inc < 10 ]
|
while [ $status_code == "502" ] && [ $inc -lt 10 ]
|
||||||
do
|
do
|
||||||
sleep 10;
|
sleep 10;
|
||||||
status_code=$(curl -s -o /dev/null -w '%{http_code}' "$domain${path_url%/}")
|
status_code=$(curl -s -o /dev/null -w '%{http_code}' "$domain${path_url%/}")
|
||||||
|
|
Loading…
Reference in a new issue