X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cmd%2Fshow%2Frcmd.pl;h=d7cbd332a5529a9cd7099e6962f4afdb4a6eb9bf;hb=91a3d0439029d8bb76f3439aa9ecc0e699f5a195;hp=d8f02d5e2c707bdceb47ac9c285efa54064189af;hpb=96461da2f857d65129b2e6acd19bd075984c31f1;p=spider.git diff --git a/cmd/show/rcmd.pl b/cmd/show/rcmd.pl index d8f02d5e..d7cbd332 100644 --- a/cmd/show/rcmd.pl +++ b/cmd/show/rcmd.pl @@ -3,7 +3,7 @@ # # Copyright (c) 1998 - Dirk Koopman G1TLH # -# $Id$ +# # my $self = shift; @@ -33,5 +33,6 @@ while ($f = shift @f) { # next field $to = 20 unless $to; $from = 0 unless $from; -@out = DXLog::print($from, $to, $main::systime, 'rcmd', $who); -return (1, @out); +return (1, DXLog::print($from, $to, $main::systime, 'rcmd', $who)) if $self->{_nospawn}; +return (1, $self->spawn_cmd("show/rcmd $cmdline", \&DXLog::print, args => [$from, $to, $main::systime, 'rcmd', $who])); +