protect every fuse call by mutexes to allow mounting without -s option

This commit is contained in:
josch
2014-12-29 22:47:52 +01:00
parent 02e2eec1d4
commit 90dc1c2927
4 changed files with 270 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ if [ `mount -t fuse.mediafire-fuse | wc -l` -ne 0 ]; then
exit 1
fi
$cmd "${binary_dir}/mediafire-fuse" -s -f -d /mnt &
$cmd "${binary_dir}/mediafire-fuse" -f -d /mnt &
fusepid="$!"
# wait for the file system to be mointed