commit: ab53ca34df6e5df9e79b792105fa6c36cdf114f2
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 10:50:15 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Dec 7 09:11:54 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab53ca34
virtualx.eclass: Add missing die
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
eclass/virtualx.eclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
index 78f5429..3df3fe1 100644
--- a/eclass/virtualx.eclass
+++ b/eclass/virtualx.eclass
@@ -92,9 +92,10 @@ virtualmake() {
local i=0
local retval=0
local OLD_SANDBOX_ON="${SANDBOX_ON}"
- local XVFB=$(type -p Xvfb)
- local XHOST=$(type -p xhost)
+ local XVFB XHOST XDISPLAY
local xvfbargs="-screen 0 1280x1024x24"
+ XVFB=$(type -p Xvfb) || die
+ XHOST=$(type -p xhost) || die
# backcompat for maketype
if [[ -n ${maketype} ]]; then