summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-07-02 14:28:27 +0000
committerivan <ivan>2002-07-02 14:28:27 +0000
commitb5b9261011dc33d33d0f597050afbac0ed0d2025 (patch)
tree5f995b39fb5cf3d62e8568616a097e32dc693782
parentdbcc8ef3a679058ca47a3b994c6a488c14870bd6 (diff)
working stdin_string!
-rw-r--r--SSH.pm2
1 files changed, 1 insertions, 1 deletions
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;