summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-20 16:10:31 -0200
committerRenato Botelho <renato@netgate.com>2015-10-20 16:19:50 -0200
commitcd51e4f60e706e2c0e13f50935ca4c006898677a (patch)
tree29ab4149a7351cdcfcc9f01d970266c3a2014416 /src
parent2efc1ffdb403d289eecf81559ce9a71a15596a61 (diff)
downloadpfsense-cd51e4f60e706e2c0e13f50935ca4c006898677a.zip
pfsense-cd51e4f60e706e2c0e13f50935ca4c006898677a.tar.gz
Remove fifo debug from internal functions
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/pkg-utils.inc18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/etc/inc/pkg-utils.inc b/src/etc/inc/pkg-utils.inc
index b8605ac..fee93fd 100644
--- a/src/etc/inc/pkg-utils.inc
+++ b/src/etc/inc/pkg-utils.inc
@@ -158,15 +158,6 @@ function pkg_call($params, $mute = false) {
"REPO_AUTOUPDATE" => "false"
);
- $debug_fifo = $g['tmp_path'] . "/pkg-debug.fifo";
- if (!file_exists($debug_fifo)) {
- posix_mkfifo($debug_fifo, 0600);
- }
-
- if (filetype($debug_fifo) == 'fifo') {
- $env["EVENT_PIPE"] = $debug_fifo;
- }
-
$descriptorspec = array(
1 => array("pipe", "w"), /* stdout */
2 => array("pipe", "w") /* stderr */
@@ -265,15 +256,6 @@ function pkg_exec($params, &$stdout, &$stderr) {
"REPO_AUTOUPDATE" => "false"
);
- $debug_fifo = $g['tmp_path'] . "/pkg-debug.fifo";
- if (!file_exists($debug_fifo)) {
- posix_mkfifo($debug_fifo, 0600);
- }
-
- if (filetype($debug_fifo) == 'fifo') {
- $env["EVENT_PIPE"] = $debug_fifo;
- }
-
$descriptorspec = array(
1 => array("pipe", "w"), /* stdout */
2 => array("pipe", "w") /* stderr */
OpenPOWER on IntegriCloud