From: Florian Weimer Date: Fri, 30 Jun 2017 09:30:48 +0000 (+0200) Subject: support: Report actual exit status in support_capture_subprocess_check X-Git-Tag: glibc-2.26~187 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f17245d3e30ce9510a4061cf2a277cd8f6a815f;p=thirdparty%2Fglibc.git support: Report actual exit status in support_capture_subprocess_check --- diff --git a/ChangeLog b/ChangeLog index 108f8cd2cff..b340c7ff9d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-06-30 Florian Weimer + + * support/support_capture_subprocess_check.c + (support_capture_subprocess_check): Report actual exit status. + 2017-06-30 Florian Weimer [BZ #19570] diff --git a/support/support_capture_subprocess_check.c b/support/support_capture_subprocess_check.c index 708c89f3313..e1cf73b6a57 100644 --- a/support/support_capture_subprocess_check.c +++ b/support/support_capture_subprocess_check.c @@ -48,7 +48,7 @@ support_capture_subprocess_check (struct support_capture_subprocess *proc, { print_context (context, &failed); printf ("error: expected exit status: %d\n", status); - printf ("error: actual exit status: %d\n", status); + printf ("error: actual exit status: %d\n", proc->status); } if (!(allowed & sc_allow_stdout) && proc->out.length != 0) {