summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--heatclient/shell.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py
index 00073d4..264a824 100644
--- a/heatclient/shell.py
+++ b/heatclient/shell.py
@@ -630,6 +630,9 @@ def main(args=None):
args = sys.argv[1:]
HeatShell().main(args)
+ except KeyboardInterrupt:
+ print("... terminating heat client", file=sys.stderr)
+ sys.exit(130)
except Exception as e:
if '--debug' in args or '-d' in args:
raise