Subject: Re: bin/36294: login(1) -- inconsistent exit behavior on EOF
To: None <gnats-bugs@NetBSD.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 05/08/2007 10:51:10
On May 8,  1:25pm, apb@cequrux.com (Alan Barrett) wrote:
-- Subject: Re: bin/36294: login(1) -- inconsistent exit behavior on EOF

| The following reply was made to PR bin/36294; it has been noted by GNATS.
| 
| From: Alan Barrett <apb@cequrux.com>
| To: gnats-bugs@NetBSD.org
| Cc: netbsd-bugs@NetBSD.org
| Subject: Re: bin/36294: login(1) -- inconsistent exit behavior on EOF
| Date: Tue, 8 May 2007 14:19:54 +0100
| 
|  On Tue, 08 May 2007, zeurkous@nichten.info wrote:
|  > Since changing the exit code will probably break compatibility, I
|  > suggest a new '-e' option for login(1) that makes it return non-zero
|  > under these circumstances (and possibly similar ones in the future):
|  
|  I don't see the need for a new "-e" flag here.  What's wrong with just
|  fixing the exit status, and documenting it?
|  
|  --apb (Alan Barrett)

I agree.

christos