summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi22
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a2441874..d79f4f28 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- gurpmi
+ o fix exit code if not refusing to insert the proper media
o notify callers when installation is canceled (#40358)
Version 6.3 - 14 August 2008, Thierry Vignaud
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 {