diff options
author | Girish Joshi <girish946@gmail.com> | 2020-05-29 10:11:24 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-05-29 10:15:26 -0300 |
commit | 9e2dc874e62b0950891b319c000b009ea12ac8c2 (patch) | |
tree | 2d1c07149a7d4b2d9109280cae6af2f5d4011efe | |
parent | 5d5b3bd94ceebe13d54a6e0cc9e2a899adbbc56f (diff) | |
download | glibc-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.c | 2 |
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; } |