From 2c41d73db4331bba7af4a687db8d63245fd21e60 Mon Sep 17 00:00:00 2001
From: p0isk <radio.86rk@gmail.com>
Date: Fri, 24 Dec 2021 10:39:06 +0300
Subject: [PATCH] Fix typo

---
 general/overlay/usr/sbin/sysupgrade | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/general/overlay/usr/sbin/sysupgrade b/general/overlay/usr/sbin/sysupgrade
index 674d2c45..da749765 100755
--- a/general/overlay/usr/sbin/sysupgrade
+++ b/general/overlay/usr/sbin/sysupgrade
@@ -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