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(+) diff --git a/src/nix-prefetch-url/nix-prefetch-url.cc b/src/nix-prefetch-url/nix-prefetch-url.cc index 54a402241..f54706a8a 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 v1.2.3