From 2165fd37487deae1afefc1e989e81a8790f301d3 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 15 Feb 2024 14:59:19 +0100 Subject: sysext: Do not log failed unmount error again umount_verbose is already doing it for us. --- src/sysext/sysext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index 6c1bfdb77e..2db5d375cf 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -268,7 +268,7 @@ static int unmerge_hierarchy( r = umount_verbose(LOG_ERR, p, MNT_DETACH|UMOUNT_NOFOLLOW); if (r < 0) - return log_error_errno(r, "Failed to unmount file system '%s': %m", p); + return r; log_info("Unmerged '%s'.", p); } -- cgit v1.2.3