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
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE
1 changed files with 2 additions and 0 deletions

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);