mirror of
https://github.com/NixOS/nix
synced 2024-09-19 10:50:24 -04:00
nix-prefetch-url: Stop progress bar before printing results
This commit is contained in:
parent
220c79ec22
commit
7751616645
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue