about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-14T09·01+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-14T09·01+0200
commitf1adf4c998c374b3857f2e252cb698463e624059 (patch)
tree4cd30dd4aeb6fade17d0b01c269476494c12df89 /scripts
parenta79e56de68e8adf508dc613b39f25ad2f431d5b4 (diff)
Remove unused @sshOpts flag
Closes #300.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/nix-copy-closure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in
index 875ca9817529..97ee88adc44e 100755
--- a/scripts/nix-copy-closure.in
+++ b/scripts/nix-copy-closure.in
@@ -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