diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-28 09:13:45 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-28 09:13:45 +0100 |
commit | fe7a6da8c5a95064c7e7117ca9362c84be0cb2d3 (patch) | |
tree | 44b3a6535631e67106b970d8d83ce27ca9eb39cb /src/sulogin-shell | |
parent | shared/ask-password-api: modify keyctl break value (diff) | |
download | systemd-fe7a6da8c5a95064c7e7117ca9362c84be0cb2d3.tar.xz systemd-fe7a6da8c5a95064c7e7117ca9362c84be0cb2d3.zip |
core: use SPECIAL_DEFAULT_TARGET more
Diffstat (limited to 'src/sulogin-shell')
-rw-r--r-- | src/sulogin-shell/sulogin-shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sulogin-shell/sulogin-shell.c b/src/sulogin-shell/sulogin-shell.c index 6d65efbb9e..9f90981e71 100644 --- a/src/sulogin-shell/sulogin-shell.c +++ b/src/sulogin-shell/sulogin-shell.c @@ -14,6 +14,7 @@ #include "process-util.h" #include "sd-bus.h" #include "signal-util.h" +#include "special.h" static int reload_manager(sd_bus *bus) { _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; @@ -57,7 +58,7 @@ static int start_default_target(sd_bus *bus) { "StartUnit", &error, NULL, - "ss", "default.target", "isolate"); + "ss", SPECIAL_DEFAULT_TARGET, "isolate"); if (r < 0) return log_error_errno(r, "Failed to start default target: %s", bus_error_message(&error, r)); |