summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi22
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ed26109f..dafabb98 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@
- gurpmi
o display the download errors
o log all urpmi logs
+ o fix answering yes to questions on error
- urpmi.update
o fix --force-key (#45094)
- urpmi.addmedia
diff --git a/gurpmi2 b/gurpmi2
index 67c972c7..57ad610d 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -404,7 +404,7 @@ sub ask_yes_or_no {
my $w = Gtk2::MessageDialog->new($mainw, [qw(modal destroy-with-parent)], 'warning', 'yes-no', $msg);
my $response = $w->run;
$w->destroy;
- $response eq 'ok';
+ $response eq 'yes';
}
sub gtk_new_Label_Left {