aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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