aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-30 17:39:56 +0900
committerOphestra <cat@gensokyo.uk>2026-07-30 17:39:56 +0900
commit89c32f5614a9da4d52325c3d53f6aa2b484041e2 (patch)
tree24b6232af8a8fcd8e01443aa0d6a6a5e074940a5
parent1567a3e582e10abfac19b627af471af735b4218b (diff)
cmd/mbf: print outcome pathname to stdout
This enables use of the cure command in scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--cmd/mbf/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index db6c1a0a..ba0a161f 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -745,7 +745,7 @@ func main() {
if err != nil {
return err
}
- log.Println(pathname)
+ fmt.Println(pathname)
if flagExport != "" {
msg.Verbosef("exporting %s to %s...", args[0], flagExport)
@@ -806,7 +806,7 @@ func main() {
}
pathname, err := cureRemote(ctx, &addr, a, flags)
if !flagNoReply && err == nil {
- log.Println(pathname)
+ fmt.Println(pathname)
}
if errors.Is(err, context.Canceled) {