mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Keep retrying for FifoFile even if it's temporarily unavailable
This commit is contained in:
parent
9d3cb79db5
commit
8fdd6da926
|
@ -23,8 +23,8 @@ void FifoConsole::ListenFifoThread(void *pUser)
|
|||
{
|
||||
FifoConsole *pData = (FifoConsole *)pUser;
|
||||
|
||||
if (!pData->m_pFifoFile || str_comp(pData->m_pFifoFile, "") == 0)
|
||||
return;
|
||||
while (!pData->m_pFifoFile || str_comp(pData->m_pFifoFile, "") == 0)
|
||||
thread_sleep(1000);
|
||||
|
||||
mkfifo(pData->m_pFifoFile, 0600);
|
||||
|
||||
|
|
Loading…
Reference in a new issue