diff --git a/src/shred.cpp b/src/shred.cpp index 6ae0236..d6b53c9 100644 --- a/src/shred.cpp +++ b/src/shred.cpp @@ -49,6 +49,7 @@ int Shred::shredDrive(Drive *drive, int *ipSignalFd) write(*ipSignalFd, "A", 1); usleep(20000); } + drive->bWasShredded = true; #endif #ifndef DRYRUN