summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-16 00:32:54 +0000
committerColin Smith <colin@pfsense.org>2005-06-16 00:32:54 +0000
commitc1312033db05fb55dde0ccf262ddedb81d8f3d54 (patch)
treebd2cc310c73bdf477595d07af046f125764023a4 /etc/inc/pkg-utils.inc
parent8b2503a471457b57a9f855507e6b72de3f340190 (diff)
downloadpfsense-c1312033db05fb55dde0ccf262ddedb81d8f3d54.zip
pfsense-c1312033db05fb55dde0ccf262ddedb81d8f3d54.tar.gz
Send stderr to stdout when extracting archives. This should address ticket #162.
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 fbe89ee..a33ad9d 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -511,7 +511,7 @@ function install_package_xml($pkg) {
download_file_with_progress_bar($afn['item'][0], $prefix . $filename);
if(stristr($filename, ".tgz") <> "") {
fwrite($fd_log, "Extracting tarball to -C for " . $filename . "...\n");
- exec("/usr/bin/tar xvzf " . $prefix . $filename . " -C /", $tarout);
+ exec("/usr/bin/tar xvzf " . $prefix . $filename . " -C / 2>&1", $tarout);
fwrite($fd_log, print_r($tarout, true) . "\n");
}
if($pkg_chmod <> "") {
OpenPOWER on IntegriCloud