cmd/mbf: print outcome pathname to stdout
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 3m6s
Test / Hakurei (push) Successful in 4m47s
Test / Sandbox (race detector) (push) Successful in 6m4s
Test / Hakurei (race detector) (push) Successful in 7m10s
Test / ShareFS (push) Successful in 7m30s
Test / Flake checks (push) Successful in 1m6s
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 3m6s
Test / Hakurei (push) Successful in 4m47s
Test / Sandbox (race detector) (push) Successful in 6m4s
Test / Hakurei (race detector) (push) Successful in 7m10s
Test / ShareFS (push) Successful in 7m30s
Test / Flake checks (push) Successful in 1m6s
This enables use of the cure command in scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user