diff options
author | Pascal Bellard <pascal.bellard@ads-lu.com> | 2010-10-18 00:54:51 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-18 00:54:51 +0200 |
commit | 873bb31d1703aae080d1928b5928c0011a944485 (patch) | |
tree | f3199f7bbab43ecc1ee020ec20e7ccb342060d53 /archival | |
parent | cadf90184c2c74e2c37161efe55cd05fb04e0c59 (diff) | |
download | busybox-w32-873bb31d1703aae080d1928b5928c0011a944485.tar.gz busybox-w32-873bb31d1703aae080d1928b5928c0011a944485.tar.bz2 busybox-w32-873bb31d1703aae080d1928b5928c0011a944485.zip |
cpio: avoid 'not created: newer or same age file exists' message for dirs
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/data_extract_all.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archival/libunarchive/data_extract_all.c b/archival/libunarchive/data_extract_all.c index cc549cd78..5fb1ab2ae 100644 --- a/archival/libunarchive/data_extract_all.c +++ b/archival/libunarchive/data_extract_all.c | |||
@@ -69,7 +69,9 @@ void FAST_FUNC data_extract_all(archive_handle_t *archive_handle) | |||
69 | } | 69 | } |
70 | } | 70 | } |
71 | else if (existing_sb.st_mtime >= file_header->mtime) { | 71 | else if (existing_sb.st_mtime >= file_header->mtime) { |
72 | if (!(archive_handle->ah_flags & ARCHIVE_EXTRACT_QUIET)) { | 72 | if (!(archive_handle->ah_flags & ARCHIVE_EXTRACT_QUIET) |
73 | && !S_ISDIR(file_header->mode) | ||
74 | ) { | ||
73 | bb_error_msg("%s not created: newer or " | 75 | bb_error_msg("%s not created: newer or " |
74 | "same age file exists", file_header->name); | 76 | "same age file exists", file_header->name); |
75 | } | 77 | } |