From f434ea4faa605aa2765996551a12cc4596c3f45f Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sun, 3 Aug 2014 16:27:19 +0200 Subject: [PATCH] cgt now returns correct success/failure value to the UNIX shell. --- unicorn/src/cgt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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