mirror of
https://gitlab.com/khumba/nvd.git
synced 2024-11-23 13:21:46 +01:00
Add "Error" to error message for consistency.
This commit is contained in:
parent
b2cf56efff
commit
ae4749c20d
1 changed files with 1 additions and 1 deletions
2
src/nvd
2
src/nvd
|
@ -685,7 +685,7 @@ def query_closure_disk_usage_bytes(target: Path) -> Optional[int]:
|
|||
# allowed to fail.
|
||||
).stdout
|
||||
except FileNotFoundError:
|
||||
sys.stderr.write("nvd: Couldn't run 'nix path-info --closure-size'.\n")
|
||||
sys.stderr.write("nvd: Error, couldn't run 'nix path-info --closure-size'.\n")
|
||||
return None
|
||||
|
||||
lines = stdout.rstrip("\n").split("\n")
|
||||
|
|
Loading…
Reference in a new issue