Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index d471f161..079e4b5a 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -267,7 +267,7 @@ if __name__ == '__main__':
print('[N] Command: {} ({})'.format(command, opts))
o = run('arch-chroot /mnt {c}'.format(c=command), echo=True, **opts)
- if len(instructions[title][command]) and type(instructions[title][command]) == bytes and not instructions[title][command] in o:
+ if type(instructions[title][command]) == bytes and len(instructions[title][command]) and not instructions[title][command] in o:
print('[W] Post install command failed: {}'.format(o.decode('UTF-8')))
#print(o)