From 35cfef9857ba198b3efd829f532b816cee886975 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 14 Apr 2019 18:55:35 +0200 Subject: Something --- archinstall.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archinstall.py b/archinstall.py index 4e19c8ce..eaff3409 100644 --- a/archinstall.py +++ b/archinstall.py @@ -191,7 +191,11 @@ class sys_command(): # Bail bail bail! os.write(child_fd, b'shutdown now\n') + print('Shutdown initatied') + exit_code = os.waitpid(self.pid, 0)[1] + + print('Exit code:', exit_code) if exit_code != 0: print('[E] Command "{}" exited with status code:'.format(self.cmd[0]), exit_code) print(trace_log) -- cgit v1.2.3-70-g09d2