diff --git a/wipe.pl b/wipe.pl index d0077f3..da8063d 100755 --- a/wipe.pl +++ b/wipe.pl @@ -142,7 +142,7 @@ sub wipethemdrives { return 0; } # If long flag than zero whole disk and give a progress bar - if ($longrun) { + if ($longrun && !$notreally) { say "Zeroing $disks->{$diskid}{path}..."; open(my $longdiskw, ">:raw", $disks->{$diskid}{path}) or return warning("could not open $disks->{$diskid}{path}"); seek($longdiskw,0,2);