Skip to content

Commit

Permalink
Client passes -cache option on to the server it starts
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjack committed Dec 2, 2018
1 parent 525aa8b commit 09d5f73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ func doClient() {
func tryStartServer() error {
path := get_executable_filename()
args := []string{os.Args[0], "-s", "-sock", *g_sock, "-addr", *g_addr}
if *g_cache {
args = append(args, "-cache")
}
cwd, _ := os.Getwd()

var err error
Expand Down

0 comments on commit 09d5f73

Please sign in to comment.