Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2021-06-13 16:51:57 +0800
committerIru Cai <mytbk920423@gmail.com>2021-06-13 16:51:57 +0800
commitc4edf3476419ad30de1fa6002bd63c8a77785c2f (patch)
treef34241a593dd6ca13e00649231ac283faa2cfffa /examples
parentb9af735d858dc2400fe7070f5c11c07c29dd3734 (diff)
fix the case when there's --config but --silent is not set
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
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