From: Antonio Alvarez Feijoo Date: Thu, 4 Jan 2024 14:22:54 +0000 (+0100) Subject: run: use SPECIAL_USER_SLICE X-Git-Tag: v256-rc1~1283^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80a8dbb4ea46cdc8f4cd47e488ca038c5ecce3dd;p=thirdparty%2Fsystemd.git run: use SPECIAL_USER_SLICE --- diff --git a/src/run/run.c b/src/run/run.c index 45da75f8897..c78d3c6a1df 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -32,6 +32,7 @@ #include "ptyfwd.h" #include "signal-util.h" #include "spawn-polkit-agent.h" +#include "special.h" #include "strv.h" #include "terminal-util.h" #include "unit-def.h" @@ -903,7 +904,7 @@ static int parse_argv_sudo_mode(int argc, char *argv[]) { strv_free_and_replace(arg_cmdline, l); if (!arg_slice) { - arg_slice = strdup("user.slice"); + arg_slice = strdup(SPECIAL_USER_SLICE); if (!arg_slice) return log_oom(); }