httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: I'd like to release 1.3.24...
Date Sat, 02 Feb 2002 21:44:40 GMT
Rodent of Unusual Size wrote:
> 
> 
> if [ "x$quiet" = "xyes" ]; then
>     (cd $src; \
>      ./Configure ${vflag} -file Configuration.apaci >/dev/null || \
>      exit $?);

The exit $? *inside* the subshell is redundant. As mentioned in my previous
email (you may not have seen it yet) the error code of the completed
subshell is available as $?. eg:

     (cd src; ./Configure <something broken>);
     echo $?

prints out the exit code of the complete subshell.

-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson

Mime
View raw message