summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
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 {