bin/71769: install command sets improper exit values

Chris Johnson chris at claimlynx.com
Wed Sep 15 08:30:24 PDT 2004


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


More information about the freebsd-bugs mailing list