diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/unarchive.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c index 3fbd6ef31..f396bd724 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c | |||
@@ -139,8 +139,7 @@ char *extract_archive(FILE *src_stream, FILE *out_stream, const file_header_t *f | |||
139 | } | 139 | } |
140 | break; | 140 | break; |
141 | case S_IFDIR: | 141 | case S_IFDIR: |
142 | /* Use create_path instead of mkdir incase prefix path | 142 | /* Use make_directory instead of mkdir in case prefix path hasn't been created */ |
143 | * hasnt been created */ | ||
144 | if (function & extract_create_dirs) { | 143 | if (function & extract_create_dirs) { |
145 | if (make_directory(full_name, file_entry->mode, FILEUTILS_RECUR) < 0) { | 144 | if (make_directory(full_name, file_entry->mode, FILEUTILS_RECUR) < 0) { |
146 | return NULL; | 145 | return NULL; |