X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdaemon%2Fcollectd.c;h=fc52933111e79fec0c291d115618d4b57f6032e5;hb=5bf93412e903fb36943088e711031a013495ce11;hp=df238e710ad532f686f60764b4f10abf416fb6ce;hpb=2b4da1f36e67a617cf742d667ad3b922a219f7a6;p=collectd.git diff --git a/src/daemon/collectd.c b/src/daemon/collectd.c index df238e71..fc529331 100644 --- a/src/daemon/collectd.c +++ b/src/daemon/collectd.c @@ -501,6 +501,7 @@ int notify_systemd (void) return 0; } + unsetenv ("NOTIFY_SOCKET"); close(fd); return 1; }