From 9e752b588a66319c20a42dda761c43df5a5ad488 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 18 Apr 2026 03:20:44 +0900 Subject: 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 --- cmd/mbf/daemon.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd') 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() } -- cgit v1.3.1