summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/vmchooser/vmchooser-run_virt
diff options
context:
space:
mode:
authorJonathan Bauer2017-02-15 12:35:52 +0100
committerJonathan Bauer2017-02-15 12:35:52 +0100
commitfc740d39fa8069c3a47b5f58e2ce16b67adbf7ed (patch)
tree51e2fd12526bfe571888aa531b0dd4c332c20766 /core/modules/run-virt/data/opt/openslx/vmchooser/vmchooser-run_virt
parent[runvirt] introduced wrapper script to start ... (diff)
downloadmltk-fc740d39fa8069c3a47b5f58e2ce16b67adbf7ed.tar.gz
mltk-fc740d39fa8069c3a47b5f58e2ce16b67adbf7ed.tar.xz
mltk-fc740d39fa8069c3a47b5f58e2ce16b67adbf7ed.zip
[runvirt] reworked wrapper log handling
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/vmchooser-run_virt')
-rwxr-xr-xcore/modules/run-virt/data/opt/openslx/vmchooser/vmchooser-run_virt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/vmchooser-run_virt b/core/modules/run-virt/data/opt/openslx/vmchooser/vmchooser-run_virt
index c4c053af..b0832aa3 100755
--- a/core/modules/run-virt/data/opt/openslx/vmchooser/vmchooser-run_virt
+++ b/core/modules/run-virt/data/opt/openslx/vmchooser/vmchooser-run_virt
@@ -24,7 +24,7 @@ SELF=$(readlink -f "$0")
declare -rg XML_FILE="$1"
# A path to the logfile can be given as second argument
-declare -rg LOGFILE="$2"
+declare -g LOGFILE="$2"
# Functions needed by vmchooser-run_virt (writelog(), cleanexit(), safesource())
declare -rg RUN_VIRT_INCLUDE_DIR="$(dirname $SELF)/run-virt-includes"
@@ -78,7 +78,7 @@ if ! isset PLUGIN_FEATURES || ! is_function run_plugin; then
writelog "Bad plugin '$PLUGIN_ID': either it did not set PLUGIN_FEATURES or did not define 'run_plugin'."
EXIT_TYPE="internal" EXIT_REASON="Fehlerhaftes vmchooser plugin: '$PLUGIN_ID'." cleanexit 1
fi
-writelog "Requested features:\t\t${PLUGIN_FEATURES}"
+writelog "Requested features:\t${PLUGIN_FEATURES}"
# Source the *.inc files in run-virt.d
for FILE in ${VMCHOOSER_DIR}/run-virt.d/*.inc; do