bin/71769: install command sets improper exit values

Simon L. Nielsen simon at FreeBSD.org
Wed Sep 15 12:31:39 PDT 2004


Synopsis: install command sets improper exit values

State-Changed-From-To: open->closed
State-Changed-By: simon
State-Changed-When: Wed Sep 15 19:30:00 GMT 2004
State-Changed-Why: 
Not a bug - you are looking at the wrong variable.

>From sh(1):
     #       Expands to the number of positional parameters.

     ?       Expands to the exit status of the most recent pipeline.

BTW. if install returned non-zero error code all
install(world|kernel)'s would fail.

http://www.freebsd.org/cgi/query-pr.cgi?pr=71769


More information about the freebsd-bugs mailing list