mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03: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:
committed by
Adhemerval Zanella
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user