From owner-cvs-all Fri Jul 7 22:13:16 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4728B37B777; Fri, 7 Jul 2000 22:13:12 -0700 (PDT) (envelope-from will@FreeBSD.org) Received: (from will@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA01643; Fri, 7 Jul 2000 22:13:11 -0700 (PDT) (envelope-from will@FreeBSD.org) Message-Id: <200007080513.WAA01643@freefall.freebsd.org> From: Will Andrews Date: Fri, 7 Jul 2000 22:13:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps ps.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG will 2000/07/07 22:13:11 PDT Modified files: bin/ps ps.c Log: 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 Reviewed by: rwatson Revision Changes Path 1.31 +2 -2 src/bin/ps/ps.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message