]> git.kaiwu.me - nginx.git/commitdiff
log "Abort trap" or similar messages
authorIgor Sysoev <igor@sysoev.ru>
Wed, 11 May 2011 11:50:19 +0000 (11:50 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 11 May 2011 11:50:19 +0000 (11:50 +0000)
auto/feature

index 0f9becc3bb75e6846b6704e3fcb451516cd74063..98e757cafab8f06ec0cbfecbaa4549f282f9c6ff 100644 (file)
@@ -52,7 +52,7 @@ if [ -x $NGX_AUTOTEST ]; then
 
         yes)
             # /bin/sh is used to intercept "Killed" or "Abort trap" messages
-            if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then
+            if /bin/sh -c $NGX_AUTOTEST >> $NGX_AUTOCONF_ERR 2>&1; then
                 echo " found"
                 ngx_found=yes
 
@@ -67,7 +67,7 @@ if [ -x $NGX_AUTOTEST ]; then
 
         value)
             # /bin/sh is used to intercept "Killed" or "Abort trap" messages
-            if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then
+            if /bin/sh -c $NGX_AUTOTEST >> $NGX_AUTOCONF_ERR 2>&1; then
                 echo " found"
                 ngx_found=yes
 
@@ -85,7 +85,7 @@ END
 
         bug)
             # /bin/sh is used to intercept "Killed" or "Abort trap" messages
-            if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then
+            if /bin/sh -c $NGX_AUTOTEST >> $NGX_AUTOCONF_ERR 2>&1; then
                 echo " not found"
 
             else