Remove unused @sshOpts flag

Closes #300.
This commit is contained in:
Eelco Dolstra 2014-10-14 11:01:18 +02:00
parent a79e56de68
commit f1adf4c998
2 changed files with 8 additions and 8 deletions

View file

@ -74,13 +74,13 @@ die "$0: you did not specify a host name\n" unless defined $sshHost;
if ($toMode) { # Copy TO the remote machine.
Nix::CopyClosure::copyTo(
$sshHost, [ @sshOpts ], [ @storePaths ],
$sshHost, [ @storePaths ],
$includeOutputs, $dryRun, $sign, $useSubstitutes);
}
else { # Copy FROM the remote machine.
my ($from, $to) = connectToRemoteNix($sshHost, [ @sshOpts ]);
my ($from, $to) = connectToRemoteNix($sshHost);
# Query the closure of the given store paths on the remote
# machine. Paths are assumed to be store paths; there is no