diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-22 16:59:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-22 18:10:31 +0200 |
commit | f07756bfe25c64119704c93a634162d6c88b5c89 (patch) | |
tree | 56478a2737270497ecb199d63804823967ac5a97 /src/core/manager.c | |
parent | c4147df156835513c43260a14fc9f7af177f737f (diff) |
core: introduce "poweroff" as new failure action types
Also, change the default action on a system start-up timeout to powering off.
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index 7508fefaef..7639aeef19 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -436,7 +436,7 @@ int manager_new(SystemdRunningAs running_as, bool test_run, Manager **_m) { m->exit_code = _MANAGER_EXIT_CODE_INVALID; m->default_timer_accuracy_usec = USEC_PER_MINUTE; m->start_timeout_usec = DEFAULT_MANAGER_START_TIMEOUT_USEC; - m->start_timeout_action = FAILURE_ACTION_REBOOT_FORCE; + m->start_timeout_action = FAILURE_ACTION_POWEROFF_FORCE; m->idle_pipe[0] = m->idle_pipe[1] = m->idle_pipe[2] = m->idle_pipe[3] = -1; |