From ece0b764bca7c9f66af31c63b0599a972ae5560d Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 18 Nov 2019 16:51:17 +0100 Subject: Corrected commandlog history emulated or not --- archinstall.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3-70-g09d2