From 98fe55d27584bd8f6e9050c70bad5da156ba7ab1 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 3 Oct 2005 10:41:16 +0000 Subject: [PATCH] fixed test command --- lam/lib/lamdaemon.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" );