fix incorrect call to Server.Wait() instead of Server.Serve()
This commit is contained in:
parent
76bba479b5
commit
ae81ad1ac7
|
@ -86,7 +86,7 @@ func Start(mountpoint string, rootGroupIds []int, userIds []int, param *FSParam,
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("mount failed: %v", err)
|
return fmt.Errorf("mount failed: %v", err)
|
||||||
}
|
}
|
||||||
server.Wait()
|
server.Serve()
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue