Skip to content
Snippets Groups Projects
Unverified Commit c935ad3f authored by Harald van Dijk's avatar Harald van Dijk
Browse files

Fix progress bar when nix-prefetch-url is piped.

The intent of the code was that if the window size cannot be determined,
it would be treated as having the maximum possible size. Because of a
missing assignment, it was actually treated as having a width of 0.

The reason the width could not be determined was because it was obtained
from stdout, not stderr, even though the printing was done to stderr.

This commit addresses both issues.
parent 06f9364e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment