summaryrefslogtreecommitdiff
path: root/update.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-12 12:04:52 -0500
committerJeff Carr <[email protected]>2023-04-12 12:04:52 -0500
commitd7be21524c6203c5377aff992912aa12bc912d0e (patch)
treed50ba0f04a524a1686eca91b0c8297c01cd2b06d /update.go
parent7d41abd543121c7c5f153acc2a5ed6828af50cb1 (diff)
only try once
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'update.go')
-rw-r--r--update.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/update.go b/update.go
index 2e37108..646a381 100644
--- a/update.go
+++ b/update.go
@@ -228,6 +228,8 @@ func (u *Update) run() {
retryTimer.Reset(retryTimeout)
log.Printf("update retry in %v...", retryTimeout)
+ log.Printf("only try once")
+ return
}
}
}