]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
If it's not an error to skip an older file, then don't set an error message.
authorTim Kientzle <kientzle@gmail.com>
Mon, 12 Apr 2010 00:17:26 +0000 (20:17 -0400)
committerTim Kientzle <kientzle@gmail.com>
Mon, 12 Apr 2010 00:17:26 +0000 (20:17 -0400)
SVN-Revision: 2239

libarchive/archive_write_disk.c

index 28225d14166ac8c02a0d41ea5acf17cbb3aa0027..ad6622b3d57fb168c50cdaaf39fa77ce26415b53 100644 (file)
@@ -1088,8 +1088,6 @@ restore_entry(struct archive_write_disk *a)
                    &&  !S_ISDIR(a->st.st_mode)) {
                        if (!older(&(a->st), a->entry)) {
                                archive_entry_unset_size(a->entry);
-                               archive_set_error(&a->archive, 0,
-                                   "File on disk is not older; skipping.");
                                return (ARCHIVE_OK);
                        }
                }