summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-07-08 08:40:30 +0200
committerMichał Górny <mgorny@gentoo.org>2022-08-02 06:03:39 +0200
commit4e2ffcee0451b9295e1bf358e8d33e2a33f09796 (patch)
tree06c3ec51edc9fd9b412fb6196b90ef19683c3f50 /eclass/virtualx.eclass
parentvirtualx.eclass: Pass xvfbargs as an array (diff)
downloadgentoo-4e2ffcee0451b9295e1bf358e8d33e2a33f09796.tar.gz
gentoo-4e2ffcee0451b9295e1bf358e8d33e2a33f09796.tar.bz2
gentoo-4e2ffcee0451b9295e1bf358e8d33e2a33f09796.zip
virtualx.eclass: Remove unused XHOST
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/virtualx.eclass')
-rw-r--r--eclass/virtualx.eclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
index d7b82e12cdd5..05b89e814a42 100644
--- a/eclass/virtualx.eclass
+++ b/eclass/virtualx.eclass
@@ -108,10 +108,9 @@ virtx() {
local i=0
local retval=0
local OLD_SANDBOX_ON="${SANDBOX_ON}"
- local XVFB XHOST XDISPLAY
+ local XVFB XDISPLAY
local xvfbargs=( -screen 0 1280x1024x24 +extension RANDR )
XVFB=$(type -p Xvfb) || die
- XHOST=$(type -p xhost) || die
debug-print "${FUNCNAME}: running Xvfb hack"
export XAUTHORITY=