diff options
author | Mike Crute <mike@crute.us> | 2023-09-07 08:33:38 -0700 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2023-09-07 08:33:38 -0700 |
commit | 9ced61d074b870a1c8eb6394a4fc22c3a2d00e1d (patch) | |
tree | 180282196dab2f3dcc0287e404e9cc19dbbdc164 | |
parent | d49a29a4015026a012a03a2ebb3f8f845decb2d4 (diff) | |
download | websocket_proxy-9ced61d074b870a1c8eb6394a4fc22c3a2d00e1d.tar.bz2 websocket_proxy-9ced61d074b870a1c8eb6394a4fc22c3a2d00e1d.tar.xz websocket_proxy-9ced61d074b870a1c8eb6394a4fc22c3a2d00e1d.zip |
-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 | } |