summaryrefslogtreecommitdiff
path: root/methods/basehttp.cc
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-11-04 00:02:41 +0200
committerVille Skyttä <ville.skytta@iki.fi>2021-11-04 00:02:41 +0200
commit48d4b06013ae3d80b95cf72efaf9a5e7468de965 (patch)
tree63dcd9a5cc32141d00ca4ca5325622a3c6bb1ee5 /methods/basehttp.cc
parentf4c4f057665adf5d26b6d83be30362fcd837db22 (diff)
Use `command -v` instead of `which`
`which` has been deprecated in debianutils 5.0+. The recommended replacement, `command -v`, is mandated by Debian policy these days, in addition to being required by POSIX and its predecessor specs at least since 1994. Not found commands cause no output from `command -v` per POSIX, so remove the redundant 2>&1's while at it.
Diffstat (limited to 'methods/basehttp.cc')
0 files changed, 0 insertions, 0 deletions