about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-12-07T12·33+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-12-07T12·33+0000
commit7d0444e2446c71e79e49f46f371c62f6d20488d7 (patch)
treec739c4e9d6682e98da19978ceb10334e377f665a /scripts
parent8062d3af30b27eb4d617c14856d4f3a173f8012e (diff)
* Bad things happen when a filehandle has the same name as a module.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/SSH.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/SSH.pm b/scripts/SSH.pm
index 44a0e6f31b..3b546ca522 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;