From ff321bd2fd553ced6512df39944b4848661f74a1 Mon Sep 17 00:00:00 2001 From: bluesaxman Date: Wed, 9 Mar 2022 09:40:31 -0700 Subject: [PATCH] Added line to disable dmesg warnings and errors about disks and stuff, should give a cleaner output now --- wipe.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wipe.pl b/wipe.pl index 3dc6134..194b5a9 100755 --- a/wipe.pl +++ b/wipe.pl @@ -39,6 +39,9 @@ my %color = ( "reset" => `tput sgr0` ); +# Disable dmesg logs to console because ew gross +system("dmesg -n 1"); + my $pretend = grep /--dryrun/, @ARGV; my $longrun = grep /--long/, @ARGV;