Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorSecondThundeR <awayfromgalaxy@gmail.com>2021-04-20 15:07:52 +0300
committerSecondThundeR <awayfromgalaxy@gmail.com>2021-04-20 15:07:52 +0300
commit06e846796d7fd18a0832b14291ef3fcf429dd214 (patch)
tree9fdaa3e05ec3e703551c6594e9811e99224f3a08 /archinstall/lib
parent1d37e5a49e094e0117ab52813bcaa374809bdc4b (diff)
Fix infinite loop on incorrect input of gateway IP
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/user_interaction.py2
1 files changed, 1 insertions, 1 deletions
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