fix incorrect call to Server.Wait() instead of Server.Serve()

This commit is contained in:
Massaki Archambault 2021-03-03 00:36:11 -05:00
parent 76bba479b5
commit ae81ad1ac7
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }