mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +02:00
build-remote.pl: Don't keep a shell process around
This commit is contained in:
parent
a00a98548e
commit
b2e0293f02
1 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,8 @@ sub connectToRemoteNix {
|
||||||
|
|
||||||
# Start ‘nix-store --serve’ on the remote host.
|
# Start ‘nix-store --serve’ on the remote host.
|
||||||
my ($from, $to);
|
my ($from, $to);
|
||||||
my $pid = open2($from, $to, "ssh $sshHost @{$sshOpts} nix-store --serve --write $extraFlags");
|
# FIXME: don't start a shell, start ssh directly.
|
||||||
|
my $pid = open2($from, $to, "exec ssh $sshHost @{$sshOpts} nix-store --serve --write $extraFlags");
|
||||||
|
|
||||||
# Do the handshake.
|
# Do the handshake.
|
||||||
my $SERVE_MAGIC_1 = 0x390c9deb; # FIXME
|
my $SERVE_MAGIC_1 = 0x390c9deb; # FIXME
|
||||||
|
|
Loading…
Reference in a new issue