From owner-freebsd-stable Sat Dec 9 8: 1:39 2000 From owner-freebsd-stable@FreeBSD.ORG Sat Dec 9 08:01:37 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from ramstind.gtf.ol.no (ramstind.gtf.ol.no [128.39.174.16]) by hub.freebsd.org (Postfix) with ESMTP id A772737B400 for ; Sat, 9 Dec 2000 08:01:36 -0800 (PST) Received: from localhost (trond@localhost) by ramstind.gtf.ol.no (8.9.3/8.9.3) with ESMTP id RAA45173 for ; Sat, 9 Dec 2000 17:01:34 +0100 (CET) (envelope-from trond@ramstind.gtf.ol.no) Date: Sat, 9 Dec 2000 17:01:34 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= To: FreeBSD stable Subject: telnet's exit status on normal exit Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, all. Why does telnet always exit with exit status 1 when run non-interactive? For example: telnet localhost always exits with exit status 1 when I log out, whereas telnet followed by open localhost always exit with exit status 0 when I log out. I have noticed this behaviour since I started with 2.2.8, and thought it would be nice to know the reason for this strange behaviour. -- ---------------------------------------------------------------------- Trond Endrestøl | trond@ramstind.gtf.ol.no Patron of The Art of Computer Programming| FreeBSD 3.5-S & Pine 4.21 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message