diff --git a/libs/gst/check/libcheck/check.c b/libs/gst/check/libcheck/check.c index 9aba4346ab..2b7f4812fb 100644 --- a/libs/gst/check/libcheck/check.c +++ b/libs/gst/check/libcheck/check.c @@ -248,7 +248,7 @@ _fail_unless (int result, const char *file, int line, const char *expr, ...) send_failure_info (buf); if (cur_fork_status () == CK_FORK) { #ifdef _POSIX_VERSION - exit (1); + _exit (1); #endif /* _POSIX_VERSION */ } }