Ticket #4427: extfs: "Inconsistent archive" error for valid RPM.

(extfs_read_archive): fix condition to display message "Inconsistent archive".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2023-01-15 10:42:53 +03:00
parent 6d7d3e882b
commit b2ffac752f
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ Version 4.8.29
* FISH subshell: commands don't work after window resize (#4372)
* FTP VFS: doesn't reconnect to server after timeout (#3670)
* FISH VFS: cannot remove non-empty directory (#4364)
* EXTFS VFS:: segfault if archive contains file(s) in the parent directory (#4422)
* EXTFS VFS: segfault if archive contains file(s) in the parent directory (#4422, #4427)
* Tests: variable redeclaration in filevercmp_test5 (#4358)

View File

@ -687,7 +687,7 @@ extfs_read_archive (mc_pipe_t * pip, struct extfs_super_t *archive, GError ** er
g_string_free (err_msg, TRUE);
}
else if (*error == NULL)
else if (ret == -1)
mc_propagate_error (error, 0, "%s", _("Inconsistent archive"));
return ret;