Wrong logical order on command failed logic
This commit is contained in:
parent
88f1f85bf4
commit
11d782baa6
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue