--- parse_df.pl 2002/07/15 10:13:38 1.1 +++ parse_df.pl 2002/07/15 10:26:21 1.2 @@ -31,7 +31,7 @@ if ($use_pcnt && $use_pcnt =~ s/(\d+)%/$1/) { print STDERR "$_\n"; # $df{$mount}=$use_pcnt; - $df{$mount}=$used * 100 / $total; + $df{$mount}=$used * 100 / $total if ($total != 0); # print $df{$mount}," == $use_pcnt\n"; } }