mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
When the file is not found, `which` returns an empty string, which passes the -f test. `command -v` is the most portable alternative to `which` per http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script/677212#677212
1.8 KiB
Executable File
1.8 KiB
Executable File