1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 05:21:16 +02:00

nix-copy-closure: don't print copied path on stdout

We're already printing progress on stderr, so printing them on stdout
afterwards is kind of useless.
This commit is contained in:
Eelco Dolstra 2012-03-05 20:52:24 +01:00
parent 35355fc1fc
commit d645633643
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ else { # Copy FROM the remote machine.
$decompressor = "$decompressor |" if $decompressor ne "";
unless ($dryRun) {
my $extraOpts = $sign ? "--sign" : "";
system("set -f; ssh $sshHost @sshOpts 'nix-store --export $extraOpts @missing $compressor' | $decompressor $Nix::Config::binDir/nix-store --import") == 0
system("set -f; ssh $sshHost @sshOpts 'nix-store --export $extraOpts @missing $compressor' | $decompressor $Nix::Config::binDir/nix-store --import > /dev/null") == 0
or die "copying store paths from remote machine `$sshHost' failed: $?";
}
}