chiark / gitweb /
user_start_slice() : The slice name must end with .slice:
authorSven Eden <yamakuzure@gmx.net>
Mon, 20 Feb 2017 07:27:13 +0000 (08:27 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:23:13 +0000 (10:23 +0100)
src/login/logind-user.c

index ccabe3d..e5833ef 100644 (file)
@@ -409,7 +409,7 @@ static int user_start_slice(User *u) {
                 char lu[DECIMAL_STR_MAX(uid_t) + 1], *slice;
                 sprintf(lu, UID_FMT, u->uid);
 
-                r = slice_build_subslice("user", lu, &slice);
+                r = slice_build_subslice("user.slice", lu, &slice);
                 if (r < 0)
                         return r;