]> wimlib.net Git - wimlib/blobdiff - src/extract.c
Note imagex-export alternatives
[wimlib] / src / extract.c
index 8e809608a864f218d726f27572d544a879079596..b7a15c04306941f483bc6bc450b13976236bcb85 100644 (file)
@@ -549,7 +549,9 @@ static int apply_stream_list(struct list_head *stream_list,
                                ret = ops->apply_dentry(dentry, args);
                                if (ret != 0)
                                        goto out;
-                               if (args->progress.extract.completed_bytes >= next_progress) {
+                               if (args->progress.extract.completed_bytes >= next_progress
+                                   && args->progress.extract.total_bytes != 0)
+                               {
                                        progress_func(WIMLIB_PROGRESS_MSG_EXTRACT_STREAMS,
                                                      &args->progress);
                                        next_progress += bytes_per_progress;