summaryrefslogtreecommitdiff
path: root/SSH.pm
diff options
context:
space:
mode:
authorivan <ivan>2001-09-19 18:27:45 +0000
committerivan <ivan>2001-09-19 18:27:45 +0000
commit8b6b796aa3807ef77162ef10fd5065ae25050820 (patch)
treedf79e86c0829c57f51c59724b6f13030362be7ef /SSH.pm
parentcbc06e7ddd0206b1406c7fc06bd0dcec52b4a06f (diff)
new openssh wants the =
Diffstat (limited to 'SSH.pm')
-rw-r--r--SSH.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/SSH.pm b/SSH.pm
index 2c50547..6c4291f 100644
--- a/SSH.pm
+++ b/SSH.pm
@@ -76,7 +76,7 @@ Connects the supplied filehandles to the ssh process (in batch mode).
sub sshopen2 {
my($host, $reader, $writer, @command) = @_;
- open2($reader, $writer, $ssh, '-o', 'Batchmode yes', $host, @command);
+ open2($reader, $writer, $ssh, '-o', 'Batchmode=yes', $host, @command);
}
=item sshopen3 HOST, WRITER, READER, ERROR, COMMAND [, ARGS ... ]