Correct function name

This commit is contained in:
Ermal 2013-02-10 11:13:58 +00:00
parent ccb5fb15d7
commit df40755dfd

View File

@ -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");