diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-03-26 15:07:13 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-03-26 15:07:13 +0000 |
commit | 7b90b8cc369aa1be2cc55027bd75aad3ac59ca6a (patch) | |
tree | fb27d8a642ba7254368dce322c50cc8a83c00023 | |
parent | 5cf5bb66b08104df3327c21439cacab1cc043022 (diff) | |
download | urpmi-7b90b8cc369aa1be2cc55027bd75aad3ac59ca6a.tar urpmi-7b90b8cc369aa1be2cc55027bd75aad3ac59ca6a.tar.gz urpmi-7b90b8cc369aa1be2cc55027bd75aad3ac59ca6a.tar.bz2 urpmi-7b90b8cc369aa1be2cc55027bd75aad3ac59ca6a.tar.xz urpmi-7b90b8cc369aa1be2cc55027bd75aad3ac59ca6a.zip |
When the user aborts the installation due to awarning message, return non 0 error code
-rwxr-xr-x | gurpmi2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ sub ask_continue { $urpm->{log}($msg); my $continue_button = Gtk2::Button->new(but(N("_Ok"))); my $quit_button = Gtk2::Button->new(but(N("_Abort"))); - $quit_button->signal_connect(clicked => sub { $urpm->{log}("=> cancel"); &quit(); } ); + $quit_button->signal_connect(clicked => sub { $urpm->{log}("=> cancel"); &quit(); exit 1}); $continue_button->signal_connect(clicked => sub { $urpm->{log}("=> ok"); goto &$nextclosure }); add_button_box($vbox, $quit_button, $continue_button); change_mainw($vbox); |