projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rework DXCron::spawn for Mojo
[spider.git]
/
perl
/
DXLog.pm
diff --git
a/perl/DXLog.pm
b/perl/DXLog.pm
index ede817aa446fdae1dc89ae634488401206bc74d5..1113bc247b2d0a58d412d80104a18987320cb225 100644
(file)
--- a/
perl/DXLog.pm
+++ b/
perl/DXLog.pm
@@
-148,6
+148,7
@@
sub unixtoj($$)
sub write($$$)
{
my ($self, $jdate, $line) = @_;
+ return unless $self && $jdate;
if (!$self->{fh} ||
$self->{mode} ne ">>" ||
$jdate->year != $self->{jdate}->year ||