summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-07-01 10:15:29 -0300
committerRenato Botelho <renato@netgate.com>2015-07-01 10:15:29 -0300
commit26994952a4c9efe69c072906da2fde1ead73b21b (patch)
tree8779948750077d1caee28070ea71a68a93e12ad1 /etc
parent6fd37d04790e878c43298b1c7b2c5e3c056e0a58 (diff)
downloadpfsense-26994952a4c9efe69c072906da2fde1ead73b21b.zip
pfsense-26994952a4c9efe69c072906da2fde1ead73b21b.tar.gz
Mute call to 'pkg info -e' used to check if pkg is installed
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index df6fe89..fd886d0 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -220,7 +220,7 @@ function is_pkg_installed($pkg_name) {
pkg_remove_prefix($pkg_name);
- return pkg_call("info -e " . $g['pkg_prefix'] . $pkg_name);
+ return pkg_call("info -e " . $g['pkg_prefix'] . $pkg_name, true);
}
/* Install package, $pkg_name should not contain prefix */
OpenPOWER on IntegriCloud