summaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/rpm_ch.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/rpm_ch.py')
-rw-r--r--gbp/scripts/rpm_ch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/scripts/rpm_ch.py b/gbp/scripts/rpm_ch.py
index 5b74efa7..199ada29 100644
--- a/gbp/scripts/rpm_ch.py
+++ b/gbp/scripts/rpm_ch.py
@@ -445,6 +445,9 @@ def main(argv):
if len(err.__str__()):
gbp.log.err(err)
return 1
+ except KeyboardInterrupt:
+ gbp.log.err("Interrupted. Aborting.")
+ return 1
finally:
del_tmpdir()