]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/kernel-install/kernel-install.c
stat-util: generalize is_* and verify_* handling
[thirdparty/systemd.git] / src / kernel-install / kernel-install.c
index 273c1d9c4728104f47edafd8297cc0bebec2196c..4df52c8342a1f0a9cd0fe69c7abfc900ec86c315 100644 (file)
@@ -801,7 +801,7 @@ static int context_ensure_layout(Context *c) {
         if (!entry_token_path)
                 return log_oom();
 
-        r = is_dir_full(c->rfd, entry_token_path, /* follow = */ false);
+        r = is_dir_at(c->rfd, entry_token_path, /* follow = */ false);
         if (r < 0 && r != -ENOENT)
                 return log_error_errno(r, "Failed to check if '%s' is a directory: %m", entry_token_path);
         if (r > 0) {