summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-30 01:15:00 -0600
committerJeff Carr <[email protected]>2025-01-30 01:15:00 -0600
commitffb90cd28f4e166af5e7fc00d34a0b38516ddb21 (patch)
tree219882980a57ae01dd8bd6a4bc6017079b50e6a0 /http.go
parentf690c1a8a328d1b136af728538c418849391e572 (diff)
this process is annoying
Diffstat (limited to 'http.go')
-rw-r--r--http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.go b/http.go
index c5f4123..0a10b7b 100644
--- a/http.go
+++ b/http.go
@@ -46,7 +46,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
log.Info("")
case "/doRelease":
buttonDisable()
- if doRelease() {
+ if err := doRelease(); err == nil {
buttonEnable()
log.Info("doRelease() worked")
} else {