From 93b233e72a1df56068f7f7bf1463d81555e9631c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 2 Sep 2022 11:08:50 +0200 Subject: [PATCH] find-esp: call the right function We want the parent dir here, let's fix that. --- src/shared/find-esp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/find-esp.c b/src/shared/find-esp.c index d21b6742b9b..6408286a5ba 100644 --- a/src/shared/find-esp.c +++ b/src/shared/find-esp.c @@ -279,7 +279,7 @@ static int verify_fsroot_dir( * directly instead. It's not as good, due to symlinks and such, but we can't do * anything better here. */ - r = path_extract_filename(path, &parent); + r = path_extract_directory(path, &parent); if (r < 0) return log_error_errno(r, "Failed to extract parent path from '%s': %m", path); -- 2.47.3