summaryrefslogtreecommitdiffstats
path: root/layman/overlays/source.py
diff options
context:
space:
mode:
Diffstat (limited to 'layman/overlays/source.py')
-rw-r--r--layman/overlays/source.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/layman/overlays/source.py b/layman/overlays/source.py
index 9836526..2c039c9 100644
--- a/layman/overlays/source.py
+++ b/layman/overlays/source.py
@@ -148,7 +148,11 @@ class OverlaySource(object):
# Make child non-interactive
proc.stdin.close()
- result = proc.wait()
+ try:
+ result = proc.wait()
+ except KeyboardInterrupt:
+ OUT.info('Interrupted manually', 2)
+ result = 1
if self.quiet:
output_target.close()