aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-01-27 02:02:16 +0100
committerToni Uhlig <matzeton@googlemail.com>2023-01-27 02:02:16 +0100
commit42aad33ec83137a95fb45292cf7c4e4300634fa5 (patch)
tree1dcf595e64572d4e698d868aefdaa7f34df35697 /utils.c
parentc71284291e58f5e6f4a92013bcdbc94c4afaa9be (diff)
Revert "Minor fixes."
This reverts commit 58439a676116baffb04a24a59ebae81780528327.
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/utils.c b/utils.c
index 486387cb9..fbdc2b79e 100644
--- a/utils.c
+++ b/utils.c
@@ -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);