return -errno;
}
- return label_fix(path, false);
+ return label_fix(path, false, false);
}
static int recursive_relabel_children(Item *i, const char *path) {
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));