diff --git a/src/repart/repart.c b/src/repart/repart.c index 05b9f6d437..1a5b485d5a 100644 --- a/src/repart/repart.c +++ b/src/repart/repart.c @@ -4327,7 +4327,7 @@ static int prepare_temporary_file(Context *context, PartitionTarget *t, uint64_t r = read_attr_fd(fdisk_get_devfd(context->fdisk_context), &attrs); if (r < 0 && !ERRNO_IS_NEG_NOT_SUPPORTED(r)) - return log_error_errno(r, "Failed to read file attributes of %s: %m", arg_node); + log_warning_errno(r, "Failed to read file attributes of %s, ignoring: %m", arg_node); if (FLAGS_SET(attrs, FS_NOCOW_FL)) { r = chattr_fd(fd, FS_NOCOW_FL, FS_NOCOW_FL, NULL); @@ -6637,7 +6637,7 @@ static int context_split(Context *context) { r = read_attr_fd(fd, &attrs); if (r < 0 && !ERRNO_IS_NEG_NOT_SUPPORTED(r)) - return log_error_errno(r, "Failed to read file attributes of %s: %m", arg_node); + log_warning_errno(r, "Failed to read file attributes of %s, ignoring: %m", arg_node); } fdt = xopenat_full( @@ -7507,7 +7507,7 @@ static int context_minimize(Context *context) { r = read_attr_fd(context->backing_fd, &attrs); if (r < 0 && !ERRNO_IS_NEG_NOT_SUPPORTED(r)) - return log_error_errno(r, "Failed to read file attributes of %s: %m", arg_node); + log_warning_errno(r, "Failed to read file attributes of %s, ignoring: %m", arg_node); LIST_FOREACH(partitions, p, context->partitions) { _cleanup_(rm_rf_physical_and_freep) char *root = NULL;