diff --git a/lam/lib/lamdaemon.pl b/lam/lib/lamdaemon.pl index 3273707c..a2c79b32 100755 --- a/lam/lib/lamdaemon.pl +++ b/lam/lib/lamdaemon.pl @@ -226,7 +226,10 @@ else { if ($ARGV[2] ne "*test") { $string = do {local $/;}; } - else { $argv = "*test\n"; } + else { + $argv = "*test\n"; + $string = " \n"; + } my $ssh = Net::SSH::Perl->new($hostname, options=>[ "UserKnownHostsFile /dev/null"], protocol => "2,1" );