projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b431c09
)
run: use SPECIAL_USER_SLICE
author
Antonio Alvarez Feijoo
<antonio.feijoo@suse.com>
Thu, 4 Jan 2024 14:22:54 +0000
(15:22 +0100)
committer
Antonio Alvarez Feijoo
<antonio.feijoo@suse.com>
Thu, 4 Jan 2024 14:22:54 +0000
(15:22 +0100)
src/run/run.c
patch
|
blob
|
history
diff --git
a/src/run/run.c
b/src/run/run.c
index 45da75f8897bb55bf540156ce7132a74ec621f6e..c78d3c6a1df7f921779c8a00fd4f3f6bee23a6d9 100644
(file)
--- 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();
}