nix-prefetch-url: Stop progress bar before printing results

This commit is contained in:
Eelco Dolstra
2018-11-09 10:34:12 +01:00
parent 220c79ec22
commit 7751616645
+2
View File
@@ -220,6 +220,8 @@ static int _main(int argc, char * * argv)
assert(storePath == store->makeFixedOutputPath(unpack, hash, name));
}
stopProgressBar();
if (!printPath)
printInfo(format("path is '%1%'") % storePath);