aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/widget-antivirus/antivirus_status.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/widget-antivirus/antivirus_status.widget.php b/config/widget-antivirus/antivirus_status.widget.php
index 77685c20..82f9a74e 100644
--- a/config/widget-antivirus/antivirus_status.widget.php
+++ b/config/widget-antivirus/antivirus_status.widget.php
@@ -112,7 +112,7 @@ function dwg_av_statistic() {
// Show package version at least, no good quick way to get the PBI version
echo "pkg v{$config['installedpackages']['package'][get_pkg_id("havp")]['version']}";
} else {
- echo exec("/usr/sbin/pkg info havp | /usr/bin/head -n 1");
+ echo pkg_exec("query '%v' havp");
}
?>
</td>