Revert "Minor fixes."

This reverts commit 58439a6761.
This commit is contained in:
Toni Uhlig
2023-01-27 02:02:16 +01:00
parent c71284291e
commit 42aad33ec8
3 changed files with 1 additions and 13 deletions

View File

@@ -144,12 +144,6 @@ int daemonize_with_pidfile(char const * const pidfile)
if (daemonize != 0)
{
if (pidfile == NULL)
{
logger_early(1, "%s", "Missing pidfile.");
return 1;
}
if (is_daemon_running(pidfile, ps) != 0)
{
logger_early(1, "Pidfile %s found and daemon %s still running", pidfile, ps);