summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-13 13:26:40 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-13 13:26:40 +0000
commit070a583629a90415f74990e284fb150f0ba8c914 (patch)
treec0c076a2f6186ddfac800c7a759d574e9b4b6e3e
parent5048f06cfad36df37cea9f0241dc636e5c56a840 (diff)
downloadurpmi-070a583629a90415f74990e284fb150f0ba8c914.tar
urpmi-070a583629a90415f74990e284fb150f0ba8c914.tar.gz
urpmi-070a583629a90415f74990e284fb150f0ba8c914.tar.bz2
urpmi-070a583629a90415f74990e284fb150f0ba8c914.tar.xz
urpmi-070a583629a90415f74990e284fb150f0ba8c914.zip
(do_install_3) return urpmi error code
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi22
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 68a299de..ed603475 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- gurpmi:
o ensure rpm error message are always in UTF-8
o ensure urpmi messages are always in UTF-8
+ o return urpmi error code
Version 5.11 - 11 March 2008, by Pascal "Pixel" Rigaux
diff --git a/gurpmi2 b/gurpmi2
index bd1e4a19..9f1fc02b 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -333,5 +333,5 @@ sub do_install_3 () {
grep { !/^--no-priority-upgrade$|--previous-priority-upgrade=/ } @ARGV);
exec $0, @ARGV;
}
-
+ exit $exit_code;
}