mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
* Bad things happen when a filehandle has the same name as a module.
This commit is contained in:
parent
8062d3af30
commit
7d0444e244
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@ sub openSSHConnection {
|
||||||
# child continues to run if we are killed. So instead make SSH
|
# child continues to run if we are killed. So instead make SSH
|
||||||
# print "started" when it has established the connection, and wait
|
# print "started" when it has established the connection, and wait
|
||||||
# until we see that.
|
# 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;
|
chomp;
|
||||||
if ($_ eq "started") {
|
if ($_ eq "started") {
|
||||||
$sshStarted = 1;
|
$sshStarted = 1;
|
||||||
|
|
Loading…
Reference in a new issue