projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f673b62
)
core: move misplaced comment to the right place
author
Lennart Poettering
<lennart@poettering.net>
Fri, 21 Oct 2016 18:05:49 +0000
(20:05 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 24 Oct 2016 15:29:51 +0000
(17:29 +0200)
src/core/execute.c
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index
b692972
..
e63a12f
100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-1891,9
+1891,9
@@
static int setup_private_users(uid_t uid, gid_t gid) {
asprintf(&uid_map,
"0 0 1\n" /* Map root → root */
UID_FMT " " UID_FMT " 1\n", /* Map $UID → $UID */
- uid, uid);
/* The case where the above is the same */
+ uid, uid);
else
- uid_map = strdup("0 0 1\n");
+ uid_map = strdup("0 0 1\n");
/* The case where the above is the same */
if (!uid_map)
return -ENOMEM;