summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-28 02:26:03 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-28 02:28:45 +0100
commita626df3efd908b6d868d49207905bdd5162e5609 (patch)
tree6f8b625ac10667fba036b36e3043ffbe881a1b5a
parent4b42934665bf14055c82e9ea73b0cb450b3bc467 (diff)
manager: when we immediately reboot due to 7x C-A-D within 2s, mention this on the console too
-rw-r--r--src/core/manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index 336ec1ed78..d86fdd2a01 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -1733,6 +1733,7 @@ static int manager_dispatch_signal_fd(sd_event_source *source, int fd, uint32_t
manager_start_target(m, SPECIAL_CTRL_ALT_DEL_TARGET, JOB_REPLACE_IRREVERSIBLY);
else {
log_notice("Ctrl-Alt-Del was pressed more than 7 times within 2s, rebooting immediately.");
+ status_printf(NULL, true, false, "Ctrl-Alt-Del was pressed more than 7 times within 2s, rebooting immediately.");
m->exit_code = MANAGER_REBOOT;
}