Update sysupgrade

Fix sysupgrade procedure
pull/121/head
Igor Zalatov 2021-12-24 10:40:27 +03:00 committed by GitHub
parent 0614b0f311
commit a046d7afe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ if [ $remotely -eq 1 ]; then
exit 1
fi
else
if [ "$(curl -o /dev/null -s -w '%{http_code}\n' http://git_hub.com)" != "301" ]; then
if [ "$(curl -o /dev/null -s -w '%{http_code}\n' http://github.com)" != "301" ]; then
echo -e "\n\e[1;31mThere is no access to the github.com, please check the Internet connection...\e[0m\n"
exit 1
fi