mirror of https://github.com/djcb/mu.git
* mu-log: don't complain when unit is called when not already initialized
This commit is contained in:
parent
d1494028e7
commit
208322527b
|
@ -200,7 +200,8 @@ mu_log_init (const char* muhome,
|
|||
void
|
||||
mu_log_uninit (void)
|
||||
{
|
||||
g_return_if_fail (MU_LOG);
|
||||
if (!MU_LOG)
|
||||
return;
|
||||
|
||||
if (MU_LOG->_own)
|
||||
try_close (MU_LOG->_fd);
|
||||
|
|
Loading…
Reference in New Issue