From: Magnus Hagander Date: Thu, 22 Jan 2009 16:08:04 +0000 (+0100) Subject: Oops, need to exit with exitcode 1 in both cases. X-Git-Url: http://git.postgresql.org/gitweb/edit?a=commitdiff_plain;h=6a41b81aa3e9982996b31b88155ba8be7c8d44aa;p=pggit.git Oops, need to exit with exitcode 1 in both cases. --- diff --git a/pggit.py b/pggit.py index 548ee16..de1c958 100755 --- a/pggit.py +++ b/pggit.py @@ -117,6 +117,7 @@ class PgGit: except Exception, e: pass sys.stderr.write("%s\n" % e) + sys.exit(1) except Exception, e: try: self.logger.log(e)