diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-11-09 10:34:12 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-11-09 10:34:12 +0100 |
commit | 77516166450008de8c64bb04c67f9b890ddfe38d (patch) | |
tree | 37e3b35ae407d86fac732238de73da02eb457446 /src/nix-prefetch-url/nix-prefetch-url.cc | |
parent | 220c79ec22ea71f89f3b2aeb84b77c022e89f5e5 (diff) |
nix-prefetch-url: Stop progress bar before printing results
Diffstat (limited to 'src/nix-prefetch-url/nix-prefetch-url.cc')
-rw-r--r-- | src/nix-prefetch-url/nix-prefetch-url.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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); |