Subject: CVS commit: src/usr.bin/whereis
To: None <source-changes@netbsd.org>
From: Perry E. Metzger <perry@netbsd.org>
List: source-changes
Date: 04/03/2003 21:16:46
Module Name:	src
Committed By:	perry
Date:		Thu Apr  3 18:16:46 UTC 2003

Modified Files:
	src/usr.bin/whereis: whereis.1 whereis.c

Log Message:
Return non-zero exit status if the listed programs aren't found.
Submitted by Gabriel Gonzalez in PR bin/20984
I deviated from the patch by returning 2 if only some programs were
located and 3 if none were. The submitted patch returned 1 and 2,
respectively, and 1 is already used for general error.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/usr.bin/whereis/whereis.1
cvs rdiff -r1.11 -r1.12 src/usr.bin/whereis/whereis.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.