diff options
author | Simon Rettberg | 2024-05-14 14:38:16 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-14 14:38:16 +0200 |
commit | 2f58cef4822e2c28bb765369a31dfbfb67eb4f7d (patch) | |
tree | 0287075474012062ca492651e6cddca6378d4ac5 /core/modules/vmware-common/data | |
parent | [run-virt] Force short xdg config dir name for libvirt (diff) | |
download | mltk-2f58cef4822e2c28bb765369a31dfbfb67eb4f7d.tar.gz mltk-2f58cef4822e2c28bb765369a31dfbfb67eb4f7d.tar.xz mltk-2f58cef4822e2c28bb765369a31dfbfb67eb4f7d.zip |
[vmware-common/run-virt] Fix is_on usage
Diffstat (limited to 'core/modules/vmware-common/data')
-rw-r--r-- | core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include | 2 |
1 files changed, 1 insertions, 1 deletions
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}" ) |