aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");