diff options
Diffstat (limited to 'gbp/scripts/clone.py')
-rwxr-xr-x | gbp/scripts/clone.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gbp/scripts/clone.py b/gbp/scripts/clone.py index 1fda91f..af32211 100755 --- a/gbp/scripts/clone.py +++ b/gbp/scripts/clone.py @@ -119,7 +119,9 @@ def main(argv): repo.create_branch(branch, remote) repo.set_branch(options.debian_branch) - + except KeyboardInterrupt: + retval = 1 + gbp.log.err("Interrupted. Aborting.") except GitRepositoryError as err: gbp.log.err("Git command failed: %s" % err) retval = 1 |