1
0
Fork 0
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:
bourreP 2019-01-10 14:10:30 +01:00 committed by GitHub
parent 2628a58c64
commit 343224ac77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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%/}")