aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 8982046e..8d0c34b4 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -837,8 +837,9 @@ you may now inspect some in order to take actions:"),
},
already_installed_or_not_installable => sub {
my ($msg1, $msg2) = @_;
- return if !($msg1 || $msg2); # workaround missing state
- interactive_msg(N("Error"), join("\n", @$msg1, @$msg2));
+ my $msg = join("\n", @$msg1, @$msg2);
+ return if !$msg; # workaround missing state
+ interactive_msg(N("Error"), $msg);
},
},
);