diff options
author | ivan <ivan> | 2001-09-19 18:34:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2001-09-19 18:34:00 +0000 |
commit | 0a51d5a2156eddc70985d13351f2902124d09f10 (patch) | |
tree | f69ea54a792d3e9ffeebf2f8da9c80fab6c43f54 | |
parent | 8b6b796aa3807ef77162ef10fd5065ae25050820 (diff) |
catch all the BatchMode s/ /=/
-rw-r--r-- | SSH.pm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -46,7 +46,7 @@ Calls ssh in batch mode. sub ssh { my($host, @command) = @_; - my @cmd = ($ssh, '-o', 'BatchMode yes', $host, @command); + my @cmd = ($ssh, '-o', 'BatchMode=yes', $host, @command); warn "[Net::SSH::ssh] executing ". join(' ', @cmd). "\n" if $DEBUG; system(@cmd); @@ -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 ... ] @@ -87,7 +87,7 @@ Connects the supplied filehandles to the ssh process (in batch mode). sub sshopen3 { my($host, $writer, $reader, $error, @command) = @_; - open3($writer, $reader, $error, $ssh, '-o', 'Batchmode yes', $host, @command); + open3($writer, $reader, $error, $ssh, '-o', 'BatchMode=yes', $host, @command); } sub _yesno { |