diff options
author | Jertzukka <Jertzukka@gmail.com> | 2024-06-03 09:09:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 08:09:54 +0200 |
commit | bd1e7726573e1834e9954d3b30c9bc255c96a840 (patch) | |
tree | 58034c5988885500736ea4be6f96f07655a1b714 /src/Platform/TextReader.cpp | |
parent | 6ac3b02a24ac40e775772f1ea95603c17c5cbaf4 (diff) | |
download | VeraCrypt-bd1e7726573e1834e9954d3b30c9bc255c96a840.tar.gz VeraCrypt-bd1e7726573e1834e9954d3b30c9bc255c96a840.zip |
FreeBSD: Fix privilege escalation prompts not showing up (#1349)
The behaviour of `wc -l` is different on FreeBSD, in which the stdout
result is padded by spaces in the beginning, which causes that the
result[0] is not actually the value we care about. This patch adds
a translate removing all whitespace from the output.
Diffstat (limited to 'src/Platform/TextReader.cpp')
0 files changed, 0 insertions, 0 deletions