diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-08-14 13:08:46 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-08-14 13:08:46 +0000 |
commit | d84a8cd9f7b9399257e56b1c4f0265de41279826 (patch) | |
tree | d45930b0ceaa09f1ed69fb9e183216d66ac30f06 /gurpmi2 | |
parent | 3fa9701aad76a10e192e0675db371d76aac11a85 (diff) | |
download | urpmi-d84a8cd9f7b9399257e56b1c4f0265de41279826.tar urpmi-d84a8cd9f7b9399257e56b1c4f0265de41279826.tar.gz urpmi-d84a8cd9f7b9399257e56b1c4f0265de41279826.tar.bz2 urpmi-d84a8cd9f7b9399257e56b1c4f0265de41279826.tar.xz urpmi-d84a8cd9f7b9399257e56b1c4f0265de41279826.zip |
(ask_choice) fix exit code if canceling when requested to select a choice
Diffstat (limited to 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -179,7 +179,7 @@ sub ask_choice { foreach (@radios) { last if $_->get_active; ++$n } } $d->destroy; - exit(0) if $_[1] == 0; #- "cancel" + exit(1) if $_[1] == 0; #- "cancel" }); $radios[0]->set_active(1); $d->set_default_response(1); # defaults to ok |