Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 16:51:17 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 16:51:17 +0100
commitece0b764bca7c9f66af31c63b0599a972ae5560d (patch)
treeeb40b267cb35cfc144b43b9a11c92f782094cafd /archinstall.py
parent11d1e0f89c66d118aadafffa2f29dbad22e870d9 (diff)
Corrected commandlog history emulated or not
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index a57c4722..ae4ad9c9 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -242,7 +242,10 @@ class sys_command():#Thread):
if not os.path.isdir(self.exec_dir):
os.makedirs(self.exec_dir)
- commandlog.append(cmd + ' #emulated')
+ if self.kwargs['emulate']:
+ commandlog.append(cmd + ' #emulated')
+ else:
+ commandlog.append(cmd)
if start_callback: start_callback(self, *positionals, **kwargs)
#self.start()
self.run()