chiark / gitweb /
Fix service file to match installed elogind binary location
[elogind.git] / src / login / logind-user.c
index c1fd75a829e553add73bcd3e0185adb67447d4ca..f904ad083b9d0c97d0dc772ad22b9831e1613bf5 100644 (file)
@@ -347,7 +347,7 @@ static int user_mkdir_runtime_path(User *u) {
         if (r < 0)
                 return log_error_errno(r, "Failed to create /run/user: %m");
 
-        if (path_is_mount_point(u->runtime_path, 0) <= 0) {
+        if (path_is_mount_point(u->runtime_path, NULL, 0) <= 0) {
                 _cleanup_free_ char *t = NULL;
 
                 (void) mkdir_label(u->runtime_path, 0700);
@@ -613,6 +613,9 @@ int user_stop(User *u, bool force) {
 
         user_save(u);
 
+#if 1 /// elogind must queue this user again
+        user_add_to_gc_queue(u);
+#endif // 1
         return r;
 }