فهرست منبع

installer: check for network on source selection

the if condition is correct because test_network returns 1 on success

fixes #171
classabbyamp 2 سال پیش
والد
کامیت
018343cd10
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      installer.sh.in

+ 3 - 1
installer.sh.in

@@ -1394,7 +1394,9 @@ menu_source() {
         "Local") src="local";;
         "Network") src="net";
             if [ -z "$NETWORK_DONE" ]; then
-                menu_network;
+                if test_network; then
+                    menu_network
+                fi
             fi;;
         *) return 1;;
     esac