summaryrefslogtreecommitdiff
path: root/src/tmpfiles.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/tmpfiles.c
parent94959f0fa0c19ae1db0e63d9a5dfc94c660825ba (diff)
cgroup: honour sticky bit when trimming cgroup trees
Diffstat (limited to 'src/tmpfiles.c')
-rw-r--r--src/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles.c b/src/tmpfiles.c
index 421a9154c5..a6b8f859aa 100644
--- a/src/tmpfiles.c
+++ b/src/tmpfiles.c
@@ -586,7 +586,7 @@ static int remove_item(Item *i, const char *instance) {
case TRUNCATE_DIRECTORY:
case RECURSIVE_REMOVE_PATH:
- if ((r = rm_rf(instance, false, i->type == RECURSIVE_REMOVE_PATH)) < 0 &&
+ if ((r = rm_rf(instance, false, i->type == RECURSIVE_REMOVE_PATH, false)) < 0 &&
r != -ENOENT) {
log_error("rm_rf(%s): %s", instance, strerror(-r));
return r;