From b5b9261011dc33d33d0f597050afbac0ed0d2025 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 2 Jul 2002 14:28:27 +0000 Subject: [PATCH] working stdin_string! --- SSH.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SSH.pm b/SSH.pm index d3a8c22..35d20b3 100644 --- a/SSH.pm +++ b/SSH.pm @@ -107,7 +107,7 @@ sub ssh_cmd { $host = $opt->{user}. '@'. $host if exists $opt->{user}; @command = ( $opt->{command} ); push @command, @{ $opt->{args} } if exists $opt->{args}; - my $stdin_string = $opt->{stdin_string}; + $stdin_string = $opt->{stdin_string}; } else { ($host, @command) = @_; undef $stdin_string; -- 2.11.0