summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDirk2011-07-21 18:36:02 +0200
committerDirk2011-07-21 18:36:02 +0200
commitf3e074b51f28e6cb5221f413ff7b54f816157942 (patch)
treeef71023caa8abdcec20e93c1ab24e64871629329 /src
parentuae stuff ... (diff)
parentadd missing space (diff)
downloadcore-f3e074b51f28e6cb5221f413ff7b54f816157942.tar.gz
core-f3e074b51f28e6cb5221f413ff7b54f816157942.tar.xz
core-f3e074b51f28e6cb5221f413ff7b54f816157942.zip
Merge branch 'master' of openslx.org:openslx/core
Diffstat (limited to 'src')
-rw-r--r--src/os-plugins/plugins/vmware/files/run-virt.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os-plugins/plugins/vmware/files/run-virt.include b/src/os-plugins/plugins/vmware/files/run-virt.include
index 8595beb1..8da908e5 100644
--- a/src/os-plugins/plugins/vmware/files/run-virt.include
+++ b/src/os-plugins/plugins/vmware/files/run-virt.include
@@ -232,7 +232,7 @@ VM_ID="0D"
# should be dynamic
if [ "x$(which bc)" != "x" ]; then
VM_ID=$(echo "obase=16; $$" | bc)
- VM_ID=$(expr substr $VM_ID $(expr ${#VM_ID} -1) 2)
+ VM_ID=$(expr substr $VM_ID $(expr ${#VM_ID} - 1) 2)
fi
# temporary disk space for logs, etc...
redodir=/tmp/vmware/${USER}.$$