summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-12 22:26:54 +0000
committerColin Smith <colin@pfsense.org>2005-04-12 22:26:54 +0000
commitd5300718cce67211aad5cdd2f30509d17f74045e (patch)
tree872df3dfd6e7bb816f51131db16e6f57cd9df8e9 /usr
parent2f0576c962c981fc3a25d389d98cfaa5b8b67fca (diff)
downloadpfsense-d5300718cce67211aad5cdd2f30509d17f74045e.zip
pfsense-d5300718cce67211aad5cdd2f30509d17f74045e.tar.gz
Redirect stderr to stdout.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/guiconfig.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 0929f51..d249d9d 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -591,7 +591,7 @@ function pkg_fetch_recursive($pkgname, $filename, $dependlevel = 0, $base_url =
if($is_installed[0] == "") pkg_fetch_recursive($working_depend[0], $depend_filename, $dependlevel + 1);
}
}
- exec("cat {$g['tmp_path']}/y | /usr/sbin/pkg_add -v {$fetchto}", $pkgaddout);
+ exec("cat {$g['tmp_path']}/y | /usr/sbin/pkg_add -v {$fetchto} 2>&1", $pkgaddout);
fwrite($fd_log, $pkgname . " " . print_r($pkgaddout, true) . "\n");
return true;
}
OpenPOWER on IntegriCloud