fix the case when there's --config but --silent is not set

This commit is contained in:
Iru Cai 2021-06-13 16:51:57 +08:00
parent b9af735d85
commit c4edf34764
1 changed files with 1 additions and 1 deletions

View File

@ -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")
exit(1)
if archinstall.arguments.get('silent', None) is None:
if not archinstall.arguments.get('silent'):
ask_user_questions()
else:
# Workarounds if config is loaded from a file