for bind mount also have to prefix device
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
e74d2be2d4
commit
1627b58cfc
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ else
|
|||
printf 'mount'
|
||||
if [ "$type" = "bind" ]; then
|
||||
printf ' --bind'
|
||||
device="${prefix}${device}"
|
||||
else
|
||||
printf ' -t "%s"' "$type"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue