summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-20 14:31:00 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-20 14:31:00 +0200
commitd139b24a808beb0dd39d1a80023c111241c0a009 (patch)
treef82f2433416189f21b4c5722dc799c1468403923 /src
parent24f3a374b9588a6e409ba58b40bdd684050decf3 (diff)
update TODO
Diffstat (limited to 'src')
-rw-r--r--src/tmpfiles/tmpfiles.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 841d163523..dfe3daa7f7 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -843,6 +843,8 @@ static int remove_item_instance(Item *i, const char *instance) {
case TRUNCATE_DIRECTORY:
case RECURSIVE_REMOVE_PATH:
+ /* FIXME: we probably should use dir_cleanup() here
+ * instead of rm_rf() so that 'x' is honoured. */
r = rm_rf(instance, false, i->type == RECURSIVE_REMOVE_PATH, false);
if (r < 0 && r != -ENOENT) {
log_error("rm_rf(%s): %s", instance, strerror(-r));