From 497c28be8bf0b35240f06d249f86dc5a4928e50a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 17 Aug 2020 17:45:02 +0200 Subject: [run-virt] Fix: Don't make RUNVIRT_DM readonly It can change now that we support swiching out the WM --- .../opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/run-virt') diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc index 5a219ddb..089182b2 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc @@ -10,7 +10,7 @@ start_wm() { unset RUNVIRT_DM for DM in "$@" openbox kwin blackbox; do if type "${DM}" >/dev/null 2>&1 ; then - declare -rg RUNVIRT_DM="${DM}" + declare -g RUNVIRT_DM="${DM}" break fi done -- cgit v1.2.3-55-g7522