From 9e2dc874e62b0950891b319c000b009ea12ac8c2 Mon Sep 17 00:00:00 2001 From: Girish Joshi Date: Fri, 29 May 2020 10:11:24 -0300 Subject: build: Use FAIL_EXIT1 () on failure to exec child [BZ #23990] Reviewed-by: Adhemerval Zanella --- support/test-container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support') diff --git a/support/test-container.c b/support/test-container.c index afc23db..e9109f9 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; } -- cgit v1.1