mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correct function name
This commit is contained in:
parent
ccb5fb15d7
commit
df40755dfd
@ -1282,7 +1282,7 @@ function system_ntp_configure($start_ntpd=true) {
|
||||
return;
|
||||
|
||||
/* if ntpd is running, kill it */
|
||||
while (is_validpid("{$g['varrun_path']}/ntpd.pid")) {
|
||||
while (isvalidpid("{$g['varrun_path']}/ntpd.pid")) {
|
||||
killbypid("{$g['varrun_path']}/ntpd.pid");
|
||||
}
|
||||
@unlink("{$g['varrun_path']}/ntpd.pid");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user