1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00

Start ctrl-alt-del.target irreversibly

This makes ctrl-alt-del reboots more robust, just like "systemctl
reboot".
This commit is contained in:
Eelco Dolstra 2013-05-07 14:16:53 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent a7739f8f97
commit f49fd1d57a

View File

@ -1372,7 +1372,7 @@ static int manager_process_signal_fd(Manager *m) {
case SIGINT: case SIGINT:
if (m->running_as == SYSTEMD_SYSTEM) { if (m->running_as == SYSTEMD_SYSTEM) {
manager_start_target(m, SPECIAL_CTRL_ALT_DEL_TARGET, JOB_REPLACE); manager_start_target(m, SPECIAL_CTRL_ALT_DEL_TARGET, JOB_REPLACE_IRREVERSIBLY);
break; break;
} }