From e6b35a8f009ae5fc3bd959eea1166d2e9314a528 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 28 Aug 2026 04:17:37 +0000 Subject: [PATCH] repart: report a failed parent directory time stamp Every other error in `do_copy_files()` reaches the user through `log_error_errno()` already. --- src/repart/repart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repart/repart.c b/src/repart/repart.c index c77cad685a..dfd05f56ab 100644 --- a/src/repart/repart.c +++ b/src/repart/repart.c @@ -6981,7 +6981,7 @@ static int do_copy_files(Context *context, Partition *p, const char *root) { timespec_store(&tspec, ts); if (futimens(pfd, (const struct timespec[2]) { TIMESPEC_OMIT, tspec }) < 0) - return -errno; + return log_error_errno(errno, "Failed to set timestamp of '%s': %m", dn); } } }