sysext: Do not log failed unmount error again

umount_verbose is already doing it for us.
This commit is contained in:
Krzesimir Nowak
2024-02-22 19:06:22 +01:00
parent 1927bcdc67
commit 2165fd3748
+1 -1
View File
@@ -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);
}