mirror of
https://github.com/elliotnunn/supermario.git
synced 2025-02-27 08:29:24 +00:00
Return nonzero status on MPW error
This commit is contained in:
parent
7627be1e6d
commit
4b5bd86876
@ -208,3 +208,7 @@ os.remove(config.hfsimg)
|
||||
if config.passthru is not None:
|
||||
wsheet = vol['MPW']['Worksheet'].data.decode('mac_roman').replace('\r', '\n')
|
||||
print(wsheet, end='')
|
||||
|
||||
# Slightly hacky way to extract an exit status
|
||||
if re.search(r'^### MPW Shell - Execution of .* terminated', wsheet, re.MULTILINE):
|
||||
sys.exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user