From 77516166450008de8c64bb04c67f9b890ddfe38d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 9 Nov 2018 10:34:12 +0100 Subject: nix-prefetch-url: Stop progress bar before printing results --- src/nix-prefetch-url/nix-prefetch-url.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/nix-prefetch-url/nix-prefetch-url.cc b/src/nix-prefetch-url/nix-prefetch-url.cc index 54a402241e3d..f54706a8a011 100644 --- a/src/nix-prefetch-url/nix-prefetch-url.cc +++ b/src/nix-prefetch-url/nix-prefetch-url.cc @@ -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); -- cgit 1.4.1