summaryrefslogtreecommitdiff
path: root/src/logind-user.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-21 20:05:51 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-21 20:07:46 +0200
commitad293f5a94d8124ece7d1cb860952a87b1c8d98f (patch)
tree31abfee26f58e4e73a4d2286127967929371f31c /src/logind-user.c
parent94959f0fa0c19ae1db0e63d9a5dfc94c660825ba (diff)
cgroup: honour sticky bit when trimming cgroup trees
Diffstat (limited to 'src/logind-user.c')
-rw-r--r--src/logind-user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logind-user.c b/src/logind-user.c
index 613a5c35ff..56c7de4400 100644
--- a/src/logind-user.c
+++ b/src/logind-user.c
@@ -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));