summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc
diff options
context:
space:
mode:
authorSteffen Ritter2021-01-25 12:16:51 +0100
committerSteffen Ritter2021-01-25 12:16:51 +0100
commitb2cd571147391de779f4eb6a468d7afe41fd1954 (patch)
tree8f692074191470ca8bf6f723d80cf2e930ebe2cd /core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc
parent[debug-report-bwlp] Add x11vnc log (diff)
downloadmltk-b2cd571147391de779f4eb6a468d7afe41fd1954.tar.gz
mltk-b2cd571147391de779f4eb6a468d7afe41fd1954.tar.xz
mltk-b2cd571147391de779f4eb6a468d7afe41fd1954.zip
[run-virt] Add sec= option to mount-script
refs: #3830
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc')
-rwxr-xr-xcore/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc
index c899108f..33ccf686 100755
--- a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc
+++ b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc
@@ -49,7 +49,7 @@ function mounter()
x=2
for VERSION in $CIFSVERSIONS; do
AUSGANG=0
- while ! mount $1 vers="$VERSION",${2} $3 $4 2>/dev/null 1>&2; do
+ while ! mount $1 "$VERSION",${2} $3 $4 2>/dev/null 1>&2; do
logger "openslx sharemapper: could not mount ${3} to ${4}, waited another $x seconds, retrying."
sleep $x
if [ "$x" -gt 4 ]; then