Skip to content
Commit b26de9d2 authored by Ignacy Kuchciński's avatar Ignacy Kuchciński
Browse files

extractor: Propagate libarchive errors when metadata is encrypted

Currently, when trying to extract password protected 7z/RAR archives
with encrypted file lists, the reported error message is "empty
archive".

This message is not helpful and may be confusing for users.

To fix this situation, propagate libarchive errors by swapping the
"empty archive" and "autoar_common_g_error_new_a" statements.

Fixes https://gitlab.gnome.org/GNOME/gnome-autoar/-/issues/26
parent ca65deca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment