diff options
-rw-r--r-- | FS/FS/SSH.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/SSH.pm b/FS/FS/SSH.pm index 84ac06b44..0caae879e 100644 --- a/FS/FS/SSH.pm +++ b/FS/FS/SSH.pm @@ -121,7 +121,8 @@ 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); + open3($reader,$writer,$error,$ssh,'-o','Batchmode yes',$host,$command); } sub _yesno { |