about summary refs log tree commit diff
path: root/scripts/SSH.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/SSH.pm')
-rw-r--r--scripts/SSH.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/SSH.pm b/scripts/SSH.pm
index 44a0e6f31b1c..3b546ca522da 100644
--- a/scripts/SSH.pm
+++ b/scripts/SSH.pm
@@ -24,9 +24,9 @@ sub openSSHConnection {
     # child continues to run if we are killed.  So instead make SSH
     # print "started" when it has established the connection, and wait
     # until we see that.
-    open SSH, "ssh $sshHost @sshOpts -M -N -o LocalCommand='echo started' -o PermitLocalCommand=yes |" or die;
+    open SSHPIPE, "ssh $sshHost @sshOpts -M -N -o LocalCommand='echo started' -o PermitLocalCommand=yes |" or die;
 
-    while (<SSH>) {
+    while (<SSHPIPE>) {
         chomp;
         if ($_ eq "started") {
             $sshStarted = 1;