diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index 87f55aca27..b8753083bf 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -961,7 +961,11 @@ static int maybe_import_ignored_mutable_directory(OverlayFSPaths *op) { return log_oom(); r = chase(path, arg_root, CHASE_PREFIX_ROOT, &resolved_path, NULL); - if (r < 0 && r != -ENOENT) + if (r == -ENOENT) { + log_debug("Mutable directory for %s does not exist, not importing", op->hierarchy); + return 0; + } + if (r < 0) return log_error_errno(r, "Failed to resolve mutable directory '%s': %m", path); r = resolved_paths_equal(op->resolved_hierarchy, resolved_path);