diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-12 15:42:21 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-11-14 14:47:20 +0200 |
commit | aeacb4ca2b04e080db0c8bc2522c79ccb117e042 (patch) | |
tree | c73cc5d6b0bd3b32b0d250a4169edd812640cef5 | |
parent | f551fab4b20e1d8cd9a069928f54756f2f963d83 (diff) | |
download | git-buildpackage-aeacb4ca2b04e080db0c8bc2522c79ccb117e042.tar.gz git-buildpackage-aeacb4ca2b04e080db0c8bc2522c79ccb117e042.tar.bz2 git-buildpackage-aeacb4ca2b04e080db0c8bc2522c79ccb117e042.zip |
buildpackage-rpm: fix exit code in case of GitRepositoryError
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-x | gbp/scripts/buildpackage_rpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py index b28ee8ca..d288eec7 100755 --- a/gbp/scripts/buildpackage_rpm.py +++ b/gbp/scripts/buildpackage_rpm.py @@ -684,7 +684,7 @@ def main(argv): retval = 1 except GitRepositoryError as err: gbp.log.err("Git command failed: %s" % err) - ret = 1 + retval = 1 except GbpAutoGenerateError as err: if len(err.__str__()): gbp.log.err(err) |