From: Girish Joshi Date: Fri, 29 May 2020 13:11:24 +0000 (-0300) Subject: build: Use FAIL_EXIT1 () on failure to exec child [BZ #23990] X-Git-Tag: glibc-2.32~280 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e2dc874e62b0950891b319c000b009ea12ac8c2;p=thirdparty%2Fglibc.git build: Use FAIL_EXIT1 () on failure to exec child [BZ #23990] Reviewed-by: Adhemerval Zanella --- diff --git a/support/test-container.c b/support/test-container.c index afc23db1489..e9109f9e3d5 100644 --- a/support/test-container.c +++ b/support/test-container.c @@ -392,7 +392,7 @@ recursive_remove (char *path) /* "rm" would have already printed a suitable error message. */ if (! WIFEXITED (status) || WEXITSTATUS (status) != 0) - exit (1); + FAIL_EXIT1 ("exec child returned status: %d", status); break; }