summaryrefslogtreecommitdiffstats
path: root/src/sysext
diff options
context:
space:
mode:
authorKrzesimir Nowak <knowak@microsoft.com>2024-02-15 14:59:19 +0100
committerKrzesimir Nowak <knowak@microsoft.com>2024-02-22 19:06:22 +0100
commit2165fd37487deae1afefc1e989e81a8790f301d3 (patch)
tree021c51da08b9b0238c1b3e7b5cf4eadbe624f221 /src/sysext
parentmount-util: Add a helper for remounting a bind mount (diff)
downloadsystemd-2165fd37487deae1afefc1e989e81a8790f301d3.tar.xz
systemd-2165fd37487deae1afefc1e989e81a8790f301d3.zip
sysext: Do not log failed unmount error again
umount_verbose is already doing it for us.
Diffstat (limited to 'src/sysext')
-rw-r--r--src/sysext/sysext.c2
1 files changed, 1 insertions, 1 deletions
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);
}