Merge pull request #577 from chingnux/fix-silent

fix the case when there's --config but --silent is not set
This commit is contained in:
Anton Hvornum 2021-06-13 16:28:12 +02:00 committed by GitHub
commit 8489137b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,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