aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinis Danne <rei4dan@gmail.com>2014-01-22 12:10:25 +0200
committerReinis Danne <rei4dan@gmail.com>2014-01-22 12:10:25 +0200
commit4d753604688488a81c75352f6ea409f36d8446e2 (patch)
tree9089a8045d2a9687d00e59e4c1ae1c65fdd5f033 /eclass/alternatives-2.eclass
parentMerge pull request #177 from Reinis/alternatives-2 (diff)
downloadsci-4d753604688488a81c75352f6ea409f36d8446e2.tar.gz
sci-4d753604688488a81c75352f6ea409f36d8446e2.tar.bz2
sci-4d753604688488a81c75352f6ea409f36d8446e2.zip
alternatives-2.eclass: Use saved exit status
Diffstat (limited to 'eclass/alternatives-2.eclass')
-rw-r--r--eclass/alternatives-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass
index 42150c0db..de1d3171a 100644
--- a/eclass/alternatives-2.eclass
+++ b/eclass/alternatives-2.eclass
@@ -220,7 +220,7 @@ alternatives-2_pkg_prerm() {
eerror "rm ${EAUTO}/${alt}.eselect failed"
;;
*)
- eerror "eselect ${alt} update ${provider} returned $?"
+ eerror "eselect ${alt} update ${provider} returned ${ret}"
;;
esac
done