aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-18 03:20:44 +0900
committerOphestra <cat@gensokyo.uk>2026-04-18 03:24:48 +0900
commit9e752b588a66319c20a42dda761c43df5a5ad488 (patch)
treea8c5829718a09683faaa0d59e3cd9095f18e9e28 /cmd
parent27b1aaae386578caadcdc2d34b7e1b5d78374efc (diff)
internal/pkg: drop cached error on cancel
This avoids disabling the artifact when using the individual cancel method. Unfortunately this makes the method blocking. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mbf/daemon.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/mbf/daemon.go b/cmd/mbf/daemon.go
index a40eb27d..a32ccf59 100644
--- a/cmd/mbf/daemon.go
+++ b/cmd/mbf/daemon.go
@@ -194,6 +194,9 @@ func serve(
}
case specialAbort:
+ if _err := conn.Close(); _err != nil {
+ log.Println(_err)
+ }
log.Println("aborting all pending cures")
cm.c.Abort()
}