diff --git a/unicorn/src/cgt.py b/unicorn/src/cgt.py index 66c5f840..5f483f26 100755 --- a/unicorn/src/cgt.py +++ b/unicorn/src/cgt.py @@ -245,7 +245,7 @@ if __name__ == '__main__': views |= CRL.Catalog.State.Logical af.saveCell(cell, views) - sys.exit(kiteSuccess) + sys.exit(not kiteSuccess) except Exception, e: print e