summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-05-08 12:26:34 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-05-08 12:26:34 -0300
commitdfa9759ae636b82620dca49bb6cc52ff9008ed99 (patch)
treecad7819c98b69bf965eaba17160001e1d52746be /etc/inc/pkg-utils.inc
parentd78c4a27bdf0893caf2a62b1770425325c13b1d9 (diff)
downloadpfsense-dfa9759ae636b82620dca49bb6cc52ff9008ed99.zip
pfsense-dfa9759ae636b82620dca49bb6cc52ff9008ed99.tar.gz
ASSUME_ALWAYS_YES is boolean
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-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 6b7364b..9195076 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -99,7 +99,7 @@ function pkg_call($params) {
}
// XXX: Use proper call with fifo to collect statistics
- $_gc = exec("env ASSUME_ALWAYS_YES=1 /usr/sbin/pkg " . escapeshellarg($params), $output, $rc);
+ $_gc = exec("env ASSUME_ALWAYS_YES=true /usr/sbin/pkg " . escapeshellarg($params), $output, $rc);
return ($rc == 0);
}
OpenPOWER on IntegriCloud