I think you can make this simpler by using the rcs= argument to subp? util.subp(cmd, capture=True, rcs=[0, 8])
If this doesn't work for some reason, feel free to ignore me :) -- https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/428926 Your team curtin developers is requested to review the proposed merge of ~dbungert/curtin:lp-1987236-chzdev into curtin:master. -- Mailing list: https://launchpad.net/~curtin-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~curtin-dev More help : https://help.launchpad.net/ListHelp

