bin/71769: install command sets improper exit values

Chris Johnson chris at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 15 15:30:23 GMT 2004
>Originator:     Chris Johnson
>Release:        FreeBSD 4.9-STABLE i386
System: FreeBSD 4.9-STABLE FreeBSD 4.9-STABLE #2: Sat Feb 21 13:43:17 CST 2004 root at i386

	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.
	Run install successfully.  Check exit value.  Run install install
    unsuccessfully.  Check exit value.

	No general work around possible.  Alternatives to installing and checking
    success vary depending on situation, but are generally available although


More information about the freebsd-bugs mailing list