chiark / gitweb /
cgroup: honour sticky bit when trimming cgroup trees
[elogind.git] / src / logind-user.c
index 613a5c35ffaa1117c1f9901d9b49dfefb586cf59..56c7de4400aa90bbfe67a3eeed81bd9ef4534a21 100644 (file)
@@ -409,7 +409,7 @@ static int user_remove_runtime_path(User *u) {
         if (!u->runtime_path)
                 return 0;
 
-        r = rm_rf(u->runtime_path, false, true);
+        r = rm_rf(u->runtime_path, false, true, false);
         if (r < 0)
                 log_error("Failed to remove runtime directory %s: %s", u->runtime_path, strerror(-r));