Use sys.exit rather than plain exit.

pull/2070/head
Jussi Pakkanen 8 years ago
parent 5cec8fc43a
commit 1617634214
  1. 2
      mesonbuild/scripts/depfixer.py

@ -337,7 +337,7 @@ def run(args):
print('This application resets target rpath.') print('This application resets target rpath.')
print('Don\'t run this unless you know what you are doing.') print('Don\'t run this unless you know what you are doing.')
print('%s: <binary file> <prefix>' % sys.argv[0]) print('%s: <binary file> <prefix>' % sys.argv[0])
exit(1) sys.exit(1)
with Elf(args[0]) as e: with Elf(args[0]) as e:
if len(args) == 1: if len(args) == 1:
e.print_rpath() e.print_rpath()

Loading…
Cancel
Save