summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-30 23:25:19 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-30 23:25:19 -0500
commit75e22cbccb356cf1cb1ae6b282fcd554a1c0dcdf (patch)
treeb446421c2f29366022647e85da4ef2414ab49993 /etc
parentd32698d3b21d94c75b4038247b74a5d6c1b9673d (diff)
downloadpfsense-75e22cbccb356cf1cb1ae6b282fcd554a1c0dcdf.zip
pfsense-75e22cbccb356cf1cb1ae6b282fcd554a1c0dcdf.tar.gz
Do not output blank pkg names
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pkg-utils.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 7876b47..44757d6 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -808,7 +808,8 @@ function delete_package($pkg) {
update_output_window($static_output);
return;
} else {
- $static_output .= "\tStarting package deletion for {$pkg}...";
+ if($pkg)
+ $static_output .= "\tStarting package deletion for {$pkg}...";
update_output_window($static_output);
}
$info = "";
@@ -1082,4 +1083,4 @@ function squash_from_bytes($size, $round = "") {
return;
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud