for bind mount also have to prefix device

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2017-02-01 07:42:06 +01:00
parent e74d2be2d4
commit 1627b58cfc
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ else
printf 'mount'
if [ "$type" = "bind" ]; then
printf ' --bind'
device="${prefix}${device}"
else
printf ' -t "%s"' "$type"
fi