chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
execute: properly enforce group
[elogind.git]
/
src
/
execute.c
diff --git
a/src/execute.c
b/src/execute.c
index f07d018a37a29468707f0956fc2e9d3cdea7fc3b..668bf9d0f06bb544e45309d01571bbf2cdaa870c 100644
(file)
--- a/
src/execute.c
+++ b/
src/execute.c
@@
-1193,7
+1193,7
@@
int exec_spawn(ExecCommand *command,
}
if (apply_permissions)
- if (enforce_groups(context, username,
u
id) < 0) {
+ if (enforce_groups(context, username,
g
id) < 0) {
r = EXIT_GROUP;
goto fail_child;
}