diff options
Diffstat (limited to 'cmd/client/autoupdate.go')
-rw-r--r-- | cmd/client/autoupdate.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/client/autoupdate.go b/cmd/client/autoupdate.go index feb272e..29a8979 100644 --- a/cmd/client/autoupdate.go +++ b/cmd/client/autoupdate.go | |||
@@ -2,7 +2,6 @@ package client | |||
2 | 2 | ||
3 | import ( | 3 | import ( |
4 | "context" | 4 | "context" |
5 | "log" | ||
6 | "os" | 5 | "os" |
7 | ) | 6 | ) |
8 | 7 | ||
@@ -19,10 +18,9 @@ func upgradeAndRestartClient(ctx context.Context, version, host string) error { | |||
19 | if err != nil { | 18 | if err != nil { |
20 | return err | 19 | return err |
21 | } | 20 | } |
21 | _ = exec | ||
22 | 22 | ||
23 | // Refuse if any path segment starts with go-build.* | 23 | // Refuse if any path segment starts with go-build.* |
24 | 24 | ||
25 | log.Printf("Executable is %s", exec) | ||
26 | |||
27 | return nil | 25 | return nil |
28 | } | 26 | } |