[entropy.client] while asking to accept the license, interpret EOF as "no"
Otherwise it would loop indefinitely (bug 4849).
This commit is contained in:
@@ -765,8 +765,13 @@ class SoloManage(SoloCommand):
|
||||
|
||||
while True:
|
||||
|
||||
action = _read_lic_selection()
|
||||
if action is None:
|
||||
# interpret EOF as "reject"
|
||||
return 1
|
||||
|
||||
try:
|
||||
choice = int(_read_lic_selection())
|
||||
choice = int(action)
|
||||
except (ValueError, TypeError):
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user