From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 15 15:30:24 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B4AE16A4CF for ; Wed, 15 Sep 2004 15:30:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4CE543D46 for ; Wed, 15 Sep 2004 15:30:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8FFUN7o041437 for ; Wed, 15 Sep 2004 15:30:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8FFUNVW041436; Wed, 15 Sep 2004 15:30:23 GMT (envelope-from gnats) Resent-Date: Wed, 15 Sep 2004 15:30:23 GMT Resent-Message-Id: <200409151530.i8FFUNVW041436@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3507316A4CE for ; Wed, 15 Sep 2004 15:23:08 +0000 (GMT) Received: from bobcat.claimlynx.com (bobcat.claimlynx.com [208.210.147.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E14A243D5D for ; Wed, 15 Sep 2004 15:23:07 +0000 (GMT) (envelope-from chris@claimlynx.com) Received: by bobcat.claimlynx.com (Postfix, from userid 1000) id 420246276B; Wed, 15 Sep 2004 10:23:07 -0500 (CDT) Message-Id: <20040915152307.420246276B@bobcat.claimlynx.com> Date: Wed, 15 Sep 2004 10:23:07 -0500 (CDT) From: Chris Johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/71769: install command sets improper exit values X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Chris Johnson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 15:30:24 -0000 >Number: 71769 >Category: bin >Synopsis: install command sets improper exit values >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 15 15:30:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Chris Johnson >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD bobcat.claimlynx.com 4.9-STABLE FreeBSD 4.9-STABLE #2: Sat Feb 21 13:43:17 CST 2004 root@bobcat.claimlynx.com:/usr/obj/usr/src/sys/BOBCAT i386 >Description: The install command appears to always return (exit with) the value 1, regardless of success or an error occuring. Man page says it exits with 0 on success, >0 if an error occurs -- and such behavior is standard for command line programs. >How-To-Repeat: Run install successfully. Check exit value. Run install install unsuccessfully. Check exit value. >Fix: No general work around possible. Alternatives to installing and checking success vary depending on situation, but are generally available although problemmatic. >Release-Note: >Audit-Trail: >Unformatted: