Skip to content

Commit

Permalink
fix: add wait in v2ray service post-up
Browse files Browse the repository at this point in the history
  • Loading branch information
ironman0x7b2 committed Jan 3, 2025
1 parent 8f3bdbf commit 9afff66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2ray/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (s *Server) PostUp() error {
return err
}

return nil
return s.cmd.Wait()
}

// PreDown performs operations before the server process is terminated.
Expand Down

0 comments on commit 9afff66

Please sign in to comment.