mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Abort if listen() fails
This commit is contained in:
@ -970,8 +970,11 @@ static void server_init(void)
|
||||
unireg_abort(1);
|
||||
}
|
||||
if (listen(ip_sock,(int) back_log) < 0)
|
||||
sql_print_error("Warning: listen() on TCP/IP failed with error %d",
|
||||
{
|
||||
sql_print_error("Error: listen() on TCP/IP failed with error %d",
|
||||
socket_errno);
|
||||
unireg_abort(1);
|
||||
}
|
||||
}
|
||||
|
||||
if (mysqld_chroot)
|
||||
|
Reference in New Issue
Block a user