Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 57d4818b..2eb5fede 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -195,7 +195,10 @@ def perform_filesystem_operations():
with open("/var/log/archinstall/user_configuration.json", "w") as config_file:
config_file.write(user_configuration)
print()
-
+
+ if archinstall.arguments.get('dry_run'):
+ exit(0)
+
if not archinstall.arguments.get('silent'):
input('Press Enter to continue.')