summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-14 13:05:09 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-14 13:05:09 +0000
commit3fa9701aad76a10e192e0675db371d76aac11a85 (patch)
tree028ce6f9546ba51090bc0338e9a3a9d1f15130fa /gurpmi2
parent171659fd0d36e5784221cd2a1237bc4dff308143 (diff)
downloadurpmi-3fa9701aad76a10e192e0675db371d76aac11a85.tar
urpmi-3fa9701aad76a10e192e0675db371d76aac11a85.tar.gz
urpmi-3fa9701aad76a10e192e0675db371d76aac11a85.tar.bz2
urpmi-3fa9701aad76a10e192e0675db371d76aac11a85.tar.xz
urpmi-3fa9701aad76a10e192e0675db371d76aac11a85.zip
(do_install_3) fix exit code if not refusing to insert the proper media
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi22
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index e49d0578..52994fb8 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -284,7 +284,7 @@ sub do_install_3 () {
);
my $response = $w->run;
$w->destroy;
- exit 0 if $response eq 'cancel';
+ exit 1 if $response eq 'cancel';
1;
},
trans_log => sub {