diff options
Diffstat (limited to 'src/unix')
-rw-r--r-- | src/unix/Daemon.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unix/Daemon.cxx b/src/unix/Daemon.cxx index fd4539310..826836849 100644 --- a/src/unix/Daemon.cxx +++ b/src/unix/Daemon.cxx @@ -54,7 +54,7 @@ static uid_t user_uid = (uid_t)-1; static gid_t user_gid = (gid_t)-1; /** the absolute path of the pidfile */ -static AllocatedPath pidfile = AllocatedPath::Null(); +static AllocatedPath pidfile = nullptr; /* whether "group" conf. option was given */ static bool had_group = false; @@ -251,7 +251,7 @@ daemonize_finish(void) { if (!pidfile.IsNull()) { unlink(pidfile.c_str()); - pidfile = AllocatedPath::Null(); + pidfile = nullptr; } free(user_name); |