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:
Phil Davis 2014-12-04 13:50:11 +05:45 committed by Renato Botelho
parent 9bcb091952
commit 01b8dbb099

View File

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