RE: [PATCH] p7519: improve check for prerequisite WATCHMAN

2017-12-18 Thread Ben Peart
t; <ava...@gmail.com> > Subject: [PATCH] p7519: improve check for prerequisite WATCHMAN > > The return code of command -v with a non-existing command is 1 in bash > and 127 in dash. Use that return code directly to allow the script to work > with dash and without watchman (e

[PATCH] p7519: improve check for prerequisite WATCHMAN

2017-12-16 Thread René Scharfe
The return code of command -v with a non-existing command is 1 in bash and 127 in dash. Use that return code directly to allow the script to work with dash and without watchman (e.g. on Debian). While at it stop redirecting the output. stderr is redirected to /dev/null by test_lazy_prereq