From 06e846796d7fd18a0832b14291ef3fcf429dd214 Mon Sep 17 00:00:00 2001 From: SecondThundeR Date: Tue, 20 Apr 2021 15:07:52 +0300 Subject: Fix infinite loop on incorrect input of gateway IP --- archinstall/lib/user_interaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py index fcdeace1..86d6e514 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -189,9 +189,9 @@ def ask_to_configure_network(): fg='red' ) - gateway = input('Enter your gateway (router) IP address or leave blank for none: ').strip() # Implemented new check for correct gateway IP address while 1: + gateway = input('Enter your gateway (router) IP address or leave blank for none: ').strip() try: if len(gateway) == 0: gateway = None -- cgit v1.2.3-70-g09d2