diff options
-rw-r--r-- | SSH.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ... ] |