Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 10:23:07 -0500 (CDT)
From:      Chris Johnson <chris@claimlynx.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/71769: install command sets improper exit values
Message-ID:  <20040915152307.420246276B@bobcat.claimlynx.com>
Resent-Message-ID: <200409151530.i8FFUNVW041436@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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