diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-09-19 16:26:45 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-09-19 16:26:45 -0400 |
commit | a637b5f74948324173219a2e7817c7f19d864281 (patch) | |
tree | d82bc269e2c142481469c29a5bb2eb89ec40e94e /cloudinit/signal_handler.py | |
parent | 5f33046a1e059f23ce1f4aceeec33813c57a7b70 (diff) | |
download | vyos-cloud-init-a637b5f74948324173219a2e7817c7f19d864281.tar.gz vyos-cloud-init-a637b5f74948324173219a2e7817c7f19d864281.zip |
change exit messages to include signal name
Diffstat (limited to 'cloudinit/signal_handler.py')
-rw-r--r-- | cloudinit/signal_handler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/signal_handler.py b/cloudinit/signal_handler.py index b6ea592b..34e075a2 100644 --- a/cloudinit/signal_handler.py +++ b/cloudinit/signal_handler.py @@ -33,11 +33,11 @@ LOG = logging.getLogger(__name__) BACK_FRAME_TRACE_DEPTH = 3 EXIT_FOR = { - signal.SIGINT: ('Cloud-init %(version)s interrupted, exiting...', 1), - signal.SIGTERM: ('Cloud-init %(version)s terminated, exiting...', 1), + signal.SIGINT: ('Cloud-init %(version)s received SIGINT, exiting...', 1), + signal.SIGTERM: ('Cloud-init %(version)s received SIGTERM, exiting...', 1), # Can't be caught... # signal.SIGKILL: ('Cloud-init killed, exiting...', 1), - signal.SIGABRT: ('Cloud-init %(version)s aborted, exiting...', 1), + signal.SIGABRT: ('Cloud-init %(version)s received SIGABRT, exiting...', 1), } |