mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-12 20:20:18 +00:00
build: Use FAIL_EXIT1 () on failure to exec child [BZ #23990]
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
5d5b3bd94c
commit
9e2dc874e6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user