Skip to content
Snippets Groups Projects
Commit 1a5d6d06 authored by Timo Teräs's avatar Timo Teräs
Browse files

fix issue introduced in previous xattr error handling changes

parent 820098d6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment