summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index 4e66aaf4..b9c0b145 100755
--- a/urpmi
+++ b/urpmi
@@ -401,7 +401,7 @@ if ($bug) {
my $rpm_lock = !$env && !$nolock && urpm::lock::rpm_db($urpm, 'exclusive');
#- search the packages according to the selection given by the user.
-my $search_result;
+my $search_result = '';
if (@names) {
$search_result = urpm::select::search_packages($urpm,
\%requested, [ @names ],