summaryrefslogtreecommitdiffstats
path: root/core/modules
diff options
context:
space:
mode:
authorJonathan Bauer2017-02-03 14:09:47 +0100
committerJonathan Bauer2017-02-03 14:09:47 +0100
commitc5191726dab12bd0c08cc57c7b6232bab45d9c30 (patch)
treec82fdeb085f05ccf21d0cfe8f1f345d414d44b0f /core/modules
parent[rfs-s32] copy /usr/lib/ssl/openssl.cnf (diff)
downloadmltk-c5191726dab12bd0c08cc57c7b6232bab45d9c30.tar.gz
mltk-c5191726dab12bd0c08cc57c7b6232bab45d9c30.tar.xz
mltk-c5191726dab12bd0c08cc57c7b6232bab45d9c30.zip
[vmware] assigning readonly variables in a function causes the function
to exit ... so let's not do that :)
Diffstat (limited to 'core/modules')
-rw-r--r--core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/parse_vmx.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/parse_vmx.inc b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/parse_vmx.inc
index daa77455..6ca82acb 100644
--- a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/parse_vmx.inc
+++ b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/parse_vmx.inc
@@ -6,7 +6,7 @@ parse_vmx() {
writelog "Parsing virtual machine description file..."
local -i HW_VERSION=$(grep -i -m1 '^virtualHW.version *= *' "${TMPCONFIG}" | awk -F '=' '{print $2}' | sed -r 's/[^0-9]//g')
if notempty HW_VERSION; then
- declare -rg VM_HW_VERSION="${HW_VERSION}"
+ declare -g VM_HW_VERSION="${HW_VERSION}"
return 0
fi
return 1