lilalo

diff l3-agent @ 71:d499fa3b2af1

Na lilalo@moskau.xt.vpn uspeshno zavelos i\
zarabotalo. + Sohranenie istorii pri vyhode
author devi
date Sat Feb 04 00:47:22 2006 +0200 (2006-02-04)
parents 70db89d4f840
children 0ffdebbccfce
line diff
     1.1 --- a/l3-agent	Fri Jan 27 19:47:23 2006 +0200
     1.2 +++ b/l3-agent	Sat Feb 04 00:47:22 2006 +0200
     1.3 @@ -488,7 +488,10 @@
     1.4          # Вырезаем из вывода только нужное количество строк
     1.5  
     1.6          my $output="";
     1.7 -        if ($Config{"head_lines"} || $Config{"tail_lines"}) {
     1.8 +
     1.9 +        if (!grep ($_ eq $cl{"last_command"}, @{$Config{"full_output_commands"}})
    1.10 +            && ($Config{"head_lines"} 
    1.11 +            || $Config{"tail_lines"})) 
    1.12              # Partialy output
    1.13              my @lines = split '\n', $cl->{"output"};
    1.14              # head