summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-07-01 10:20:05 -0300
committerRenato Botelho <renato@netgate.com>2015-07-01 10:20:05 -0300
commitb27ac7863d4966fddf7d009614f4a6a291c57ff2 (patch)
treec560f8c6ccbdd30f36424db02e88fc012ece3dbd /etc
parent9b1aa8d9a7cff3bf5ebcd07ea8f9c67234dd8089 (diff)
downloadpfsense-b27ac7863d4966fddf7d009614f4a6a291c57ff2.zip
pfsense-b27ac7863d4966fddf7d009614f4a6a291c57ff2.tar.gz
Stop using undefined variable and create a single package debug file
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 7bdde3f..eaa65fa 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -60,7 +60,7 @@ if (!function_exists("pkg_debug")) {
}
if (!$fd_log) {
- if (!$fd_log = fopen("{$g['tmp_path']}/pkg_mgr_{$package}.log", "w")) {
+ if (!$fd_log = fopen("{$g['tmp_path']}/pkg_mgr_debug.log", "w")) {
update_output_window("Warning, could not open log for writing.");
}
}
OpenPOWER on IntegriCloud