aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGirish Joshi <girish946@gmail.com>2020-05-29 10:11:24 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-05-29 10:15:26 -0300
commit9e2dc874e62b0950891b319c000b009ea12ac8c2 (patch)
tree2d1c07149a7d4b2d9109280cae6af2f5d4011efe
parent5d5b3bd94ceebe13d54a6e0cc9e2a899adbbc56f (diff)
downloadglibc-9e2dc874e62b0950891b319c000b009ea12ac8c2.tar
glibc-9e2dc874e62b0950891b319c000b009ea12ac8c2.tar.gz
glibc-9e2dc874e62b0950891b319c000b009ea12ac8c2.tar.bz2
glibc-9e2dc874e62b0950891b319c000b009ea12ac8c2.zip
build: Use FAIL_EXIT1 () on failure to exec child [BZ #23990]
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r--support/test-container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/test-container.c b/support/test-container.c
index afc23db148..e9109f9e3d 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;
}