summaryrefslogtreecommitdiffhomepage
path: root/auto/echo
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-09-22 20:13:55 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-09-22 20:13:55 +0300
commit8e2fd89634bedd4570a2d3d885c209a0e1d20d62 (patch)
treeddb0c67bc1fb414b342b71dd21debfd481752d8e /auto/echo
parent45c1d41f34031c26344832f92837f08c0dbfba04 (diff)
downloadunit-8e2fd89634bedd4570a2d3d885c209a0e1d20d62.tar.gz
unit-8e2fd89634bedd4570a2d3d885c209a0e1d20d62.tar.bz2
Fixed displaying "echo" program building failure.
Diffstat (limited to '')
-rw-r--r--auto/echo/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/echo/build b/auto/echo/build
index 10670f74..d66c6951 100644
--- a/auto/echo/build
+++ b/auto/echo/build
@@ -10,7 +10,8 @@ rm -f $NXT_BUILD_DIR/echo
nxt_echo_test="$CC -o $NXT_BUILD_DIR/echo -O $NXT_CC_OPT
auto/echo/echo.c $NXT_LD_OPT"
-nxt_echo_err=`$nxt_echo_test 2>&1`
+# "|| true" is to bypass "set -e" setting.
+nxt_echo_err=`$nxt_echo_test 2>&1 || true`
if [ ! -x $NXT_BUILD_DIR/echo ]; then
$echo