aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index b263103b..ad44d6bb 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -209,6 +209,7 @@ sub format_pkg_info {
sub node_state {
my ($name) = @_;
+ return if !$name;
my $pkg = $pkgs->{$name};
my $urpm_obj = $pkg->{pkg};
if (!$urpm_obj) {