chiark / gitweb /
logind-user.c: As we need special.h elsewhere now, use it here, too.
authorSven Eden <yamakuzure@gmx.net>
Fri, 8 Jun 2018 06:35:24 +0000 (08:35 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 8 Jun 2018 14:45:49 +0000 (16:45 +0200)
(cherry picked from commit a96cb75c17b008312fca8f81bc2a126f8a87850c)

src/login/logind-user.c

index 15460224cdeab6d26a5073f506e40db29cf73898..7bf92b2c28f2d5d4e96bafe88723024cddcd733b 100644 (file)
 #include "path-util.h"
 #include "rm-rf.h"
 #include "smack-util.h"
-//#include "special.h"
+#include "special.h"
 #include "stdio-util.h"
 #include "string-table.h"
 #include "unit-name.h"
 #include "user-util.h"
 #include "util.h"
 
-#if 1 /// elogind uses a static value here
-#  define SPECIAL_USER_SLICE "user.slice"
-#endif // 1
 int user_new(User **out, Manager *m, uid_t uid, gid_t gid, const char *name) {
         _cleanup_(user_freep) User *u = NULL;
         char lu[DECIMAL_STR_MAX(uid_t) + 1];