diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-07-01 09:42:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-07-01 09:42:37 +0000 |
commit | c5fca0bc726f26aa3a5f1e930f0d00131856c74e (patch) | |
tree | 875343493a99159ac0698af870a4ddcd98bad1dc | |
parent | 24558d3592895c919ac75cae6fb83e16bd9397a6 (diff) | |
download | urpmi-c5fca0bc726f26aa3a5f1e930f0d00131856c74e.tar urpmi-c5fca0bc726f26aa3a5f1e930f0d00131856c74e.tar.gz urpmi-c5fca0bc726f26aa3a5f1e930f0d00131856c74e.tar.bz2 urpmi-c5fca0bc726f26aa3a5f1e930f0d00131856c74e.tar.xz urpmi-c5fca0bc726f26aa3a5f1e930f0d00131856c74e.zip |
do cancel when pressing the No button (#41648)
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | gurpmi2 | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,8 @@ for eg: /var/lib/urpmi/synthesis.hdlist.<medium-name> is now /var/lib/urpmi/<medium-name>/synthesis.hdlist.cz it allows easier medium update without using urpmi.update (#31893) +- gurpmi: + o do cancel when pressing the 'No' button (#41648) - urpmi: o "missing file" and "bad rpms" errors are reported asap and are fatal errors unless the user wants to go on anyway (or --force) @@ -202,7 +202,7 @@ sub ask_continue_blocking { my $w = Gtk2::MessageDialog->new($mainw, [qw(modal destroy-with-parent)], 'question', 'yes-no', $msg); my $answer = $w->run; $w->destroy; - quit() if $answer eq 'no'; + exit(1) if $answer eq 'no'; } sub do_install { |