Date: Mon, 16 Jun 2003 15:10:11 -0700 (PDT) From: Ceri Davies <ceri@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/53377: [PATCH] su does not return exit status of executed command Message-ID: <200306162210.h5GMABAH070465@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR bin/53377; it has been noted by GNATS. From: Ceri Davies <ceri@FreeBSD.org> To: FreeBSD Gnats Submit <freebsd-gnats-submit@FreeBSD.org> Cc: Subject: Re: bin/53377: [PATCH] su does not return exit status of executed command Date: Mon, 16 Jun 2003 23:03:51 +0100 Adding to audit trail, from misfiled PR bin/53380: Date: Mon, 16 Jun 2003 16:56:21 +0100 From: Mark Murray <mark@grondar.org> Message-Id: <200306161556.h5GFuMHh089570@grimreaper.grondar.org> Hi Thanks! I have a clean-up of su(8) (uncommitted, and I'm incorporating this in it. M Cejka Rudolf writes: > >Fix: > > $ FreeBSD: src/usr.bin/su/su.c,v 1.68 2003/04/08 16:59:53 des Exp $ > > --- su.c.orig Mon Jun 16 16:35:22 2003 > +++ su.c Mon Jun 16 16:46:17 2003 > @@ -378,7 +378,7 @@ > if (pid == -1) > err(1, "waitpid"); > PAM_END(); > - exit(statusp); > + exit(WEXITSTATUS(statusp)); > case -1: > err(1, "fork"); > PAM_END(); M -- Mark Murray iumop ap!sdn w,I idlaHhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306162210.h5GMABAH070465>
