summaryrefslogtreecommitdiff
path: root/src/sulogin-shell
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-28 09:13:45 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-28 09:13:45 +0100
commitfe7a6da8c5a95064c7e7117ca9362c84be0cb2d3 (patch)
tree44b3a6535631e67106b970d8d83ce27ca9eb39cb /src/sulogin-shell
parent6da498c28f2598bea4d651756485f57d54e379f4 (diff)
downloadsystemd-fe7a6da8c5a95064c7e7117ca9362c84be0cb2d3.tar.gz
core: use SPECIAL_DEFAULT_TARGET more
Diffstat (limited to 'src/sulogin-shell')
-rw-r--r--src/sulogin-shell/sulogin-shell.c3
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));