fix the case when there's --config but --silent is not set
This commit is contained in:
parent
b9af735d85
commit
c4edf34764
|
|
@ -442,7 +442,7 @@ if not check_mirror_reachable():
|
||||||
archinstall.log(f"Arch Linux mirrors are not reachable. Please check your internet connection and the log file '{log_file}'.", level=logging.INFO, fg="red")
|
archinstall.log(f"Arch Linux mirrors are not reachable. Please check your internet connection and the log file '{log_file}'.", level=logging.INFO, fg="red")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
if archinstall.arguments.get('silent', None) is None:
|
if not archinstall.arguments.get('silent'):
|
||||||
ask_user_questions()
|
ask_user_questions()
|
||||||
else:
|
else:
|
||||||
# Workarounds if config is loaded from a file
|
# Workarounds if config is loaded from a file
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue