mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-28 17:41:14 -05:00
which(1) is not standardized by POSIX, and has different implementations and behaviour on different distributions. The behaviour and exit status of command -v is standardized by POSIX, and in particular, checking its exit status is an appropriate way to ask: if I called this command, would it be found? Signed-off-by: Simon McVittie <smcv@collabora.com>