1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/bin/ps
Will Andrews f8c9c11c5c Fix the exit code for the case where nentries == 0; if a PID doesn't exist,
ps(1) should not be returning a success code (0), it should return an
error code (1).  This was fixed on OpenBSD over 3 years ago.

PR:		19069
Submitted by:	Jim Sloan <odinn@atlantabiker.net>
Reviewed by:	rwatson
2000-07-08 05:13:10 +00:00
..
extern.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
fmt.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
keyword.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
Makefile I'm probably jumping the gun, but what the heck, this is -current. 1999-11-17 13:37:30 +00:00
nlist.c Fixed breakage of %CPU and %MEM in the previous commit. sysctlbyname() 1998-09-10 18:06:28 +00:00
print.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
ps.1 $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
ps.c Fix the exit code for the case where nentries == 0; if a PID doesn't exist, 2000-07-08 05:13:10 +00:00
ps.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00