summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc
diff options
context:
space:
mode:
authorSimon Rettberg2019-09-10 16:50:35 +0200
committerSimon Rettberg2019-09-10 16:50:35 +0200
commit9dfa19ff1067457b47eb301099fd84a11425ff5e (patch)
tree61719ad0c7b0af56cb2b3f64de86aeb094435ab6 /core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc
parent[run-virt] Fix tr expressions, add some missing quotes (diff)
downloadmltk-9dfa19ff1067457b47eb301099fd84a11425ff5e.tar.gz
mltk-9dfa19ff1067457b47eb301099fd84a11425ff5e.tar.xz
mltk-9dfa19ff1067457b47eb301099fd84a11425ff5e.zip
[run-virt] Fix: Explicitly initialize empty arrays
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc')
-rw-r--r--core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/start_windowmanager.inc2
1 files changed, 1 insertions, 1 deletions
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 85b4a96a..c080be8c 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
@@ -23,7 +23,7 @@ start_wm() {
# start RUNVIRT_DM determined above
writelog "Starting ${RUNVIRT_DM}."
- declare -a OPTS=
+ declare -a OPTS=()
case "$RUNVIRT_DM" in
openbox|kwin|xfwm4|metacity)
OPTS+=( "--replace" )