fix issue introduced in previous xattr error handling changes
parent
820098d6ad
commit
1a5d6d06d6
|
@ -494,7 +494,7 @@ int apk_archive_entry_extract(int atfd, const struct apk_file_info *ae,
|
|||
if (r != -ENOTSUP)
|
||||
apk_error("Failed to set xattrs on %s: %s",
|
||||
fn, strerror(-r));
|
||||
if (!ret) ret = -errno;
|
||||
if (!ret) ret = r;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -512,5 +512,5 @@ int apk_archive_entry_extract(int atfd, const struct apk_file_info *ae,
|
|||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue