summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-01 09:42:37 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-01 09:42:37 +0000
commitc5fca0bc726f26aa3a5f1e930f0d00131856c74e (patch)
tree875343493a99159ac0698af870a4ddcd98bad1dc /gurpmi2
parent24558d3592895c919ac75cae6fb83e16bd9397a6 (diff)
downloadurpmi-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)
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi22
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 34f02aa7..db6991a9 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -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 {