Skip to content

Commit

Permalink
Report progress in any case
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Finkelshteyn committed Feb 7, 2019
1 parent e88bc52 commit 40d0347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UBCopy/AsyncUnbuffCopyStatic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private static void AsyncWriteFile()
Monitor.PulseAll(Locker1);
//fancy dan in place percent update on each write.

if (_reportprogress && !IsDebugEnabled)
if (_reportprogress)
{
int percent = (int)Math.Round((float)_totalbyteswritten / (float)_infilesize * 100);
if ((percent - currentPercent) >= 1)
Expand Down

0 comments on commit 40d0347

Please sign in to comment.