limit the no of spots stored for a search
[spider.git] / perl / DXCron.pm
index 16d27cddd03f051cad1feaa3dc7e0b37ac008644..5cccfc491d5bba66a0431986fe3cc38f4c1a5479 100644 (file)
@@ -72,7 +72,7 @@ sub cread
                my ($min, $hour, $mday, $month, $wday, $cmd) = /^\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(.+)$/o;
                next unless defined $min;
                my $ref = bless {};
-               my $err;
+               my $err = '';
 
                if (defined $min && defined $hour && defined $cmd) { # it isn't all of them, but should be enough to tell if this is a real line
                        $err .= parse($ref, 'min', $min, 0, 60);