summaryrefslogtreecommitdiff
path: root/morphlib/buildcommand.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r--morphlib/buildcommand.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index 6a5373ab..c5d86a08 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -572,4 +572,9 @@ class InitiatorBuildCommand(BuildCommand):
# Python exceptions.
logging.info('Received KeyboardInterrupt, aborting.')
for initiator in loop.state_machines_of_type(distbuild.Initiator):
+ connection_id = initiator.connection_id or 'ID'
+ self.app.status(msg='Stopping initiator process. To cancel '
+ 'the build use `morph distbuild-cancel '
+ '%(initiator_connection)s`.',
+ initiator_connection=connection_id)
initiator.handle_cancel()