limit the no of spots stored for a search
[spider.git] / perl / DXCron.pm
index b0d4b1c6dc6609c158cd3568cd5ce2e168f9ce9b..12192891de1bba6939b8ade706e1feed6ca97940 100644 (file)
@@ -71,7 +71,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);