summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ... ]