Explorar el Código

installer: check for network on source selection

the if condition is correct because test_network returns 1 on success

fixes #171
classabbyamp hace 2 años
padre
commit
018343cd10
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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