From 2f58cef4822e2c28bb765369a31dfbfb67eb4f7d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 14 May 2024 14:38:16 +0200 Subject: [vmware-common/run-virt] Fix is_on usage --- .../data/opt/openslx/vmchooser/plugins/vmware/run-virt.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/vmware-common/data') diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include index e55a533b..b1400571 100644 --- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include +++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include @@ -65,7 +65,7 @@ run_plugin() { # HACK: using the modified version of the wrapper script declare -rg VIRTCMD="/opt/openslx/bin/vmplayer" # -X for fullscreen, plus VMX file - run windowed in CoW mode, so we can see the cowgui - if is_on VMCHOOSER_ADMIN_MODE && isset DMSD_COW_SESSION; then + if is_on "$VMCHOOSER_ADMIN_MODE" && isset DMSD_COW_SESSION; then VIRTCMDOPTS+=( "${VM_RUN_FILE}" ) else VIRTCMDOPTS+=( "-X" "${VM_RUN_FILE}" ) -- cgit v1.2.3-55-g7522