From 67b63635b8feb2d455572d7f40c658bfafe8f4fe Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sun, 13 Mar 2011 08:25:36 +0000 Subject: Fixup die per gentoo-dev discussion. Thanks to Michal (mgorny) and Pavel (phajdan.jr) for spotting. --- eclass/virtualx.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/virtualx.eclass') diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 0eb2f407e305..4cf3ec7c8506 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.36 2011/03/09 13:31:51 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.37 2011/03/13 08:25:36 scarabeus Exp $ # Original author: Martin Schlemmer @@ -158,7 +158,7 @@ virtualmake() { fi # die if our command failed - [[ $? -ne 0 ]] && die "${FUNCNAME}: the ${VIRTALX_COMMAND} failed." + [[ ${retval} -ne 0 ]] && die "${FUNCNAME}: the ${VIRTUALX_COMMAND} failed." } # @FUNCTION: Xmake -- cgit v1.2.3-65-gdbad