mirror of
https://forge.murkfall.net/bluesaxman/squeegy.git
synced 2026-03-13 03:14:21 -06:00
added notreally check to full zero
This commit is contained in:
2
wipe.pl
2
wipe.pl
@@ -142,7 +142,7 @@ sub wipethemdrives {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
# If long flag than zero whole disk and give a progress bar
|
# If long flag than zero whole disk and give a progress bar
|
||||||
if ($longrun) {
|
if ($longrun && !$notreally) {
|
||||||
say "Zeroing $disks->{$diskid}{path}...";
|
say "Zeroing $disks->{$diskid}{path}...";
|
||||||
open(my $longdiskw, ">:raw", $disks->{$diskid}{path}) or return warning("could not open $disks->{$diskid}{path}");
|
open(my $longdiskw, ">:raw", $disks->{$diskid}{path}) or return warning("could not open $disks->{$diskid}{path}");
|
||||||
seek($longdiskw,0,2);
|
seek($longdiskw,0,2);
|
||||||
|
|||||||
Reference in New Issue
Block a user