mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Put -4 in the right place in ntpq clockver command #4074
I had pasted it in here between "-c" and "clockvar", that was not good. That's all I have for #4074 (I hope)
This commit is contained in:
parent
9bcb091952
commit
01b8dbb099
@ -100,7 +100,7 @@ if(!isset($config['ntpd']['noquery'])) {
|
||||
$ntpq_servers[] = $server;
|
||||
}
|
||||
|
||||
exec("/usr/local/sbin/ntpq -c $inet_version clockvar", $ntpq_clockvar_output);
|
||||
exec("/usr/local/sbin/ntpq -c clockvar $inet_version", $ntpq_clockvar_output);
|
||||
foreach ($ntpq_clockvar_output as $line) {
|
||||
if (substr($line, 0, 9) == "timecode=") {
|
||||
$tmp = explode('"', $line);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user