From c4edf3476419ad30de1fa6002bd63c8a77785c2f Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sun, 13 Jun 2021 16:51:57 +0800 Subject: fix the case when there's --config but --silent is not set --- examples/guided.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/guided.py') diff --git a/examples/guided.py b/examples/guided.py index 266efbd4..11d58fa4 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -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 -- cgit v1.2.3-70-g09d2