system: sometimes dpinger starts without a socket

Which isn't ideal, because then we cannot get any more readings until
it is being restarted.
This commit is contained in:
Franco Fichtner 2023-08-10 12:53:23 +02:00
parent 77ac3f5c93
commit 93f8b70cbd

View File

@ -174,7 +174,6 @@ function dpinger_configure_do($verbose = false, $gwname = null, $bootup = false)
continue;
}
killbypid($process['pidfile']);
@unlink($process['socket']);
}
if (!empty($gwname) && $gwname == ':watcher:') {