Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-06-13 16:28:12 +0200
committerGitHub <noreply@github.com>2021-06-13 16:28:12 +0200
commit8489137b878aa920c3b6e9c567146f2c95d7981b (patch)
tree2ef1690519b13b700d3da9e16b8a0ddc58819a8f /examples
parentd30a22cae3e7a37d4141d3a6128e83fc3d47f9be (diff)
parentc4edf3476419ad30de1fa6002bd63c8a77785c2f (diff)
Merge pull request #577 from chingnux/fix-silent
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 647e78b1..aebebcfa 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -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