ffserver: use EXIT_FAILURE on failed child fork()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2015-12-14 21:32:45 -08:00
parent eb68c35670
commit 1fa81430ca
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ static void start_children(FFServerStream *feed)
feed->pid = fork();
if (feed->pid < 0) {
http_log("Unable to create children: %s\n", strerror(errno));
exit(1);
exit(EXIT_FAILURE);
}
if (feed->pid)