sh: Weaken builtins/command4 test to only require a nonzero exit status.

This matches what is in POSIX; various other shells use different exit
statuses.

Note that it is still required that there be no output.
This commit is contained in:
Jilles Tjoelker 2010-08-29 20:53:24 +00:00
parent d448e183aa
commit 83866607fb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211973
2 changed files with 2 additions and 2 deletions

View File

@ -0,0 +1,2 @@
# $FreeBSD$
! command -v nonexisting

View File

@ -1,2 +0,0 @@
# $FreeBSD$
command -v nonexisting