From ab53ca34df6e5df9e79b792105fa6c36cdf114f2 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 28 Nov 2015 11:50:15 +0100 Subject: virtualx.eclass: Add missing die Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'eclass/virtualx.eclass') diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 78f5429ef81c..3df3fe161f22 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 -- cgit v1.2.3-65-gdbad