X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Flog.pl;h=82356bcd390029c726efc6e91f89c9389fc6f09f;hb=91a3d0439029d8bb76f3439aa9ecc0e699f5a195;hp=18d9405091f8e6132640a74d4be5860003c56b4a;hpb=6227d68be0d99f20afc56c023b81455d100924b7;p=spider.git diff --git a/cmd/show/log.pl b/cmd/show/log.pl index 18d94050..82356bcd 100644 --- a/cmd/show/log.pl +++ b/cmd/show/log.pl @@ -41,7 +41,6 @@ sub handle $who = $self->call; } - @out = $self->spawn_cmd(\&DXLog::print, args => [$from, $to, $main::systime, undef, $who]); - - return (1, @out); + return (1, DXLog::print($from, $to, $main::systime, undef, $who)) if $self->{_nospawn}; + return (1, $self->spawn_cmd("show/log $cmdline", \&DXLog::print, args => [$from, $to, $main::systime, undef, $who])); }