Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/archinstall.py b/archinstall.py
index eaff3409..afb22d65 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -186,16 +186,12 @@ class sys_command():
yield output
- print('Debug...')
# Since we're in a subsystem, we gotta bail out!
# 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)
@@ -641,7 +637,7 @@ if __name__ == '__main__':
del(opts['pass-args'])
elif 'format' in opts:
del(opts['format'])
- else:
+ elif ('debug' in opts and opts['debug']) or ('debug' in conf and conf['debug']):
print('[-] Options: {}'.format(opts))
if 'pass-args' in opts and opts['pass-args']:
command = command.format(**args)