cmount: Wait for mountpoint to appear on Windows before declaring mounted
This commit is contained in:
parent
e6ffe3464c
commit
204a19e67f
2 changed files with 17 additions and 5 deletions
|
@ -13,7 +13,6 @@ import (
|
|||
"runtime"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/ncw/rclone/cmd/mountlib"
|
||||
"github.com/ncw/rclone/fs"
|
||||
|
@ -141,9 +140,6 @@ func (r *Run) mount() {
|
|||
r.skip = true
|
||||
}
|
||||
log.Printf("mount OK")
|
||||
if runtime.GOOS == "windows" {
|
||||
time.Sleep(time.Second) // FIXME remove this when https://github.com/billziss-gh/cgofuse/issues/11 is fixed
|
||||
}
|
||||
}
|
||||
|
||||
func (r *Run) umount() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue