X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCron.pm;fp=perl%2FDXCron.pm;h=5cccfc491d5bba66a0431986fe3cc38f4c1a5479;hb=dd01a8824f3896015e031cf301181760a6496bbd;hp=16d27cddd03f051cad1feaa3dc7e0b37ac008644;hpb=bfd4e140dcf03f12bbda1dd405f8b135f86d0b6a;p=spider.git diff --git a/perl/DXCron.pm b/perl/DXCron.pm index 16d27cdd..5cccfc49 100644 --- a/perl/DXCron.pm +++ b/perl/DXCron.pm @@ -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);