repair --nofail flag
@@ -123,6 +123,7 @@ def exec_cmd(options, *args):
print(result[0], result[1])
if proc.returncode:
print('exec error (%i): %s' % (proc.returncode, result[1]))
+ if not options.nofail:
sys.exit(1)
return result[0], result[1]
