bootctl,kernel-install: suffix some paths referring to dirs in log messages with /

This commit is contained in:
Lennart Poettering
2025-02-10 01:15:52 +01:00
committed by Mike Yuan
parent 592b715f4f
commit 37252381d2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -618,7 +618,7 @@ static int context_ensure_boot_root(Context *c) {
if (c->rfd >= 0) {
r = chaseat(c->rfd, "/boot", CHASE_AT_RESOLVE_IN_ROOT, &c->boot_root, /* ret_fd = */ NULL);
if (r < 0)
return log_error_errno(r, "Failed to chase '/boot': %m");
return log_error_errno(r, "Failed to chase '/boot/': %m");
} else {
c->boot_root = strdup("/boot");
if (!c->boot_root)