Browse Source

(extfs_read_archive): show error message.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin 2 years ago
parent
commit
9962abd701
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/vfs/extfs/extfs.c

+ 2 - 0
src/vfs/extfs/extfs.c

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