aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-21 19:13:30 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-21 19:13:30 -0500
commit938455f6eec9f21ef7890cd8e75611594cf48492 (patch)
treee111a2de88844cebeb48773d9cd2c8785f1d9d64 /config/unbound
parentee63df59f259d4d69686c47fe559314929edb4e5 (diff)
downloadpfsense-packages-938455f6eec9f21ef7890cd8e75611594cf48492.tar.gz
pfsense-packages-938455f6eec9f21ef7890cd8e75611594cf48492.tar.bz2
pfsense-packages-938455f6eec9f21ef7890cd8e75611594cf48492.zip
Use exec()
Diffstat (limited to 'config/unbound')
-rw-r--r--config/unbound/unbound_status.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php
index 9b7be071..fa4ab29a 100644
--- a/config/unbound/unbound_status.php
+++ b/config/unbound/unbound_status.php
@@ -140,7 +140,7 @@ function execCmds() {
<tr>
<td class="tabcont" width="100%">
<?php
- $entries = trim(system("/usr/local/sbin/unbound-control dump_cache | wc -l"));
+ $entries = trim(exec("/usr/local/sbin/unbound-control dump_cache | wc -l"));
defCmdT("Unbound status", "unbound-control status", "6");
defCmdT("Unbound stats", "unbound-control stats_noreset");
defCmdT("Unbound stubs", "unbound-control list_stubs", "8");