1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-01-03 14:56:34 -05:00

Update: Workaround OpenSSL locking up by calling _exit() not exit()

This commit is contained in:
Philipp Schafft 2022-09-17 17:58:56 +00:00
parent 68694c4f6e
commit 18b61eadec

View File

@ -10,6 +10,7 @@
#include <config.h>
#endif
#include <unistd.h>
#include <string.h>
#include <errno.h>
@ -242,7 +243,7 @@ static void _run_script (event_exec_t *self, event_t *event) {
default: /* parent */
break;
}
exit (0);
_exit(0);
case -1:
ICECAST_LOG_ERROR("Unable to fork %s", strerror (errno));
break;