1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

run: use SPECIAL_USER_SLICE

This commit is contained in:
Antonio Alvarez Feijoo 2024-01-04 15:22:54 +01:00
parent b431c090be
commit 80a8dbb4ea
No known key found for this signature in database
GPG Key ID: B4EFC9173666A622

View File

@ -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();
}