VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/MainCom.h
diff options
context:
space:
mode:
authorJertzukka <Jertzukka@gmail.com>2024-06-03 09:09:54 +0300
committerGitHub <noreply@github.com>2024-06-03 08:09:54 +0200
commitbd1e7726573e1834e9954d3b30c9bc255c96a840 (patch)
tree58034c5988885500736ea4be6f96f07655a1b714 /src/Mount/MainCom.h
parent6ac3b02a24ac40e775772f1ea95603c17c5cbaf4 (diff)
downloadVeraCrypt-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/Mount/MainCom.h')
0 files changed, 0 insertions, 0 deletions
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200