summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-12-05 18:11:55 -0200
committerRenato Botelho <renato@netgate.com>2016-12-05 18:11:55 -0200
commitfc6b7031f67a60963ee31d64335046f0dd29e933 (patch)
treed01115fdaf9eac8cd8e00ccbce62c760604085f7 /src/usr
parentf34e9794b177e0d1b335014050010a3721e90fa2 (diff)
parentcd2c59c9839e38fa7cbd4ae217fe14883b086145 (diff)
downloadpfsense-fc6b7031f67a60963ee31d64335046f0dd29e933.zip
pfsense-fc6b7031f67a60963ee31d64335046f0dd29e933.tar.gz
Merge pull request #4815 from doktornotor/patch-2
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/widgets/widgets/ntp_status.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/widgets/widgets/ntp_status.widget.php b/src/usr/local/www/widgets/widgets/ntp_status.widget.php
index c23a02f..b47a6fd 100644
--- a/src/usr/local/www/widgets/widgets/ntp_status.widget.php
+++ b/src/usr/local/www/widgets/widgets/ntp_status.widget.php
@@ -51,7 +51,7 @@ if ($_REQUEST['updateme']) {
$inet_version = " -4";
}
- exec("/usr/local/sbin/ntpq -pn $inet_version | /usr/bin/tail +3", $ntpq_output);
+ exec("/usr/local/sbin/ntpq -pn -w $inet_version | /usr/bin/tail +3", $ntpq_output);
$ntpq_counter = 0;
$stratum_text = gettext("stratum");
foreach ($ntpq_output as $line) {
OpenPOWER on IntegriCloud