diff --git a/Melt/chain.py b/Melt/chain.py index dcac268..14c3b9e 100755 --- a/Melt/chain.py +++ b/Melt/chain.py @@ -225,7 +225,9 @@ def main(): if __name__ == "__main__": + result = 0 try: - sys.exit(main()) + result = main() except: - sys.exit(1) + result = 1 + sys.exit(result)