From 753432cf09ac81fbfd9b5357ba6112f0d027c55d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 19 Apr 2026 18:24:11 +0900 Subject: cmd/mbf: optionally wait for cancel Synchronisation is not needed here during interactive use. Signed-off-by: Ophestra --- cmd/mbf/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/mbf/main.go') diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index cbb6f7b2..b8516baa 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -489,7 +489,7 @@ func main() { cc, cancel := context.WithDeadline(context.Background(), daemonDeadline()) defer cancel() - if _err := cancelRemote(cc, &addr, a); _err != nil { + if _err := cancelRemote(cc, &addr, a, false); _err != nil { log.Println(err) } } @@ -523,7 +523,7 @@ func main() { c.NewCommand( "abort", "Abort all pending cures on the daemon", - func([]string) error { return abortRemote(ctx, &addr) }, + func([]string) error { return abortRemote(ctx, &addr, false) }, ) { -- cgit v1.3.1