diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-01-27 02:02:16 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-01-27 02:02:16 +0100 |
commit | 42aad33ec83137a95fb45292cf7c4e4300634fa5 (patch) | |
tree | 1dcf595e64572d4e698d868aefdaa7f34df35697 /utils.c | |
parent | c71284291e58f5e6f4a92013bcdbc94c4afaa9be (diff) |
Revert "Minor fixes."
This reverts commit 58439a676116baffb04a24a59ebae81780528327.
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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); |