core: move misplaced comment to the right place
authorLennart Poettering <lennart@poettering.net>
Fri, 21 Oct 2016 18:05:49 +0000 (20:05 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Oct 2016 15:29:51 +0000 (17:29 +0200)
src/core/execute.c

index b692972..e63a12f 100644 (file)
@@ -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;