summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-09-07 08:33:38 -0700
committerMike Crute <mike@crute.us>2023-09-07 08:33:38 -0700
commit9ced61d074b870a1c8eb6394a4fc22c3a2d00e1d (patch)
tree180282196dab2f3dcc0287e404e9cc19dbbdc164
parentd49a29a4015026a012a03a2ebb3f8f845decb2d4 (diff)
downloadwebsocket_proxy-client-upgrade.tar.bz2
websocket_proxy-client-upgrade.tar.xz
websocket_proxy-client-upgrade.zip
-rw-r--r--cmd/client/autoupdate.go4
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
3import ( 3import (
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}