Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2000 22:13:11 -0700 (PDT)
From:      Will Andrews <will@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/ps ps.c
Message-ID:  <200007080513.WAA01643@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <odinn@atlantabiker.net>
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007080513.WAA01643>