diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py index 1169b7e50..1528ddbfc 100644 --- a/mesonbuild/scripts/depfixer.py +++ b/mesonbuild/scripts/depfixer.py @@ -337,7 +337,7 @@ def run(args): print('This application resets target rpath.') print('Don\'t run this unless you know what you are doing.') print('%s: ' % sys.argv[0]) - exit(1) + sys.exit(1) with Elf(args[0]) as e: if len(args) == 1: e.print_rpath()