diff options
Diffstat (limited to 'gbp/scripts/dch.py')
-rw-r--r-- | gbp/scripts/dch.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gbp/scripts/dch.py b/gbp/scripts/dch.py index 134fc3a..f0b4928 100644 --- a/gbp/scripts/dch.py +++ b/gbp/scripts/dch.py @@ -542,7 +542,9 @@ def main(argv): msg = changelog_commit_msg(options, version) repo.commit_files([changelog], msg) gbp.log.info("Changelog committed for version %s" % version) - + except KeyboardInterrupt: + ret = 1 + gbp.log.err("Interrupted. Aborting.") except (gbpc.CommandExecFailed, GbpError, GitRepositoryError, |