Author: eelco
Date: Tue Dec 7 12:33:42 2010
New Revision: 25024
URL: https://svn.nixos.org/websvn/nix/?rev=25024&sc=1
Log:
* Bad things happen when a filehandle has the same name as a module.
Modified:
nix/branches/sqlite/scripts/SSH.pm
Modified: nix/branches/sqlite/scripts/SSH.pm
==============================================================================
--- nix/branches/sqlite/scripts/SSH.pm Tue Dec 7 12:03:07 2010 (r25023)
+++ nix/branches/sqlite/scripts/SSH.pm Tue Dec 7 12:33:42 2010 (r25024)
@@ -24,9 +24,9 @@
# 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;
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits