summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-21 20:05:49 +0200
committerLennart Poettering <lennart@poettering.net>2016-10-24 17:29:51 +0200
commite0f3720e399573134657458f4c8bd20c68fc092a (patch)
treeab512a983fe792c80232cce6bb2bdaaf21687ea3
parentf673b62df67dfa67ddfa4f5a72d78ea3c002278f (diff)
core: move misplaced comment to the right place
-rw-r--r--src/core/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index b69297241b..e63a12f934 100644
--- 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;