diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-11 14:27:17 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-11 14:27:17 +0200 |
commit | b8f24f253527e1cb071785c3b2d677ed2f734ab1 (patch) | |
tree | cba9b60e12365e21d4cf3bc0b71cde4e21885ff8 /perl/lib | |
parent | e196eecbe6552d5afed89ad480544c90cf959922 (diff) |
Fix closure size display
Diffstat (limited to 'perl/lib')
-rw-r--r-- | perl/lib/Nix/CopyClosure.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/CopyClosure.pm b/perl/lib/Nix/CopyClosure.pm index 8be4ead76..131f0b5a4 100644 --- a/perl/lib/Nix/CopyClosure.pm +++ b/perl/lib/Nix/CopyClosure.pm @@ -91,7 +91,7 @@ sub copyTo { $missingSize += (queryPathInfo($_, 1))[3] foreach @missing; printf STDERR "copying %d missing paths (%.2f MiB) to ‘$sshHost’...\n", - scalar(@missing), $missingSize / (1024.0^2); + scalar(@missing), $missingSize / (1024**2); return if $dryRun; # Send the "import paths" command. |