diff --git a/src/shred.cpp b/src/shred.cpp index 5938bf3..f46156d 100644 --- a/src/shred.cpp +++ b/src/shred.cpp @@ -146,6 +146,8 @@ int Shred::shredDrive(Drive *drive, int *ipSignalFd) shredSpeed.ulSpeedMetricBytesWritten += iByteShredded; drive->sShredSpeed.store(shredSpeed); + ulDriveByteCounter += iByteShredded; + ulDriveByteOverallCount += iByteShredded; d32Percent = this->calcProgress(); #ifdef LOG_LEVEL_HIGH Logger::logThis()->info("Shred-Task: ByteCount: " + to_string(ulDriveByteCounter) + " - iteration: " + to_string((uiShredIterationCounter + 1)) + " - progress: " + to_string(d32Percent) + " - Drive: " + drive->getSerial());