daemon: disable daemonize_detach() on WIN32
This commit is contained in:
parent
b4f84fab34
commit
eb64f6542f
@ -130,6 +130,7 @@ daemonize_set_user(void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
static void
|
static void
|
||||||
daemonize_detach(void)
|
daemonize_detach(void)
|
||||||
{
|
{
|
||||||
@ -160,6 +161,7 @@ daemonize_detach(void)
|
|||||||
|
|
||||||
g_debug("daemonized!");
|
g_debug("daemonized!");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
daemonize(bool detach)
|
daemonize(bool detach)
|
||||||
@ -188,7 +190,7 @@ daemonize(bool detach)
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
/* no daemonization on WIN32 */
|
/* no daemonization on WIN32 */
|
||||||
(void)options;
|
(void)detach;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user