diff options
author | Renato Botelho <renato@netgate.com> | 2015-07-01 10:20:05 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-07-01 10:20:05 -0300 |
commit | b27ac7863d4966fddf7d009614f4a6a291c57ff2 (patch) | |
tree | c560f8c6ccbdd30f36424db02e88fc012ece3dbd | |
parent | 9b1aa8d9a7cff3bf5ebcd07ea8f9c67234dd8089 (diff) | |
download | pfsense-b27ac7863d4966fddf7d009614f4a6a291c57ff2.zip pfsense-b27ac7863d4966fddf7d009614f4a6a291c57ff2.tar.gz |
Stop using undefined variable and create a single package debug file
-rw-r--r-- | etc/inc/pkg-utils.inc | 2 |
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."); } } |