aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-05-17 17:08:54 +0100
committerChristopher Baines <mail@cbaines.net>2023-05-17 17:08:54 +0100
commite7f41c1ee26993a5c6f6d6a3eed31b3feaa1bfd9 (patch)
treef626878363fab8198c8e320c5c4a05782438fcca
parentacd62a5c08d6bace08339b5250367f715aea9b53 (diff)
downloadbuild-coordinator-e7f41c1ee26993a5c6f6d6a3eed31b3feaa1bfd9.tar
build-coordinator-e7f41c1ee26993a5c6f6d6a3eed31b3feaa1bfd9.tar.gz
Don't print out "build-canceled" for each canceled build
-rw-r--r--scripts/guix-build-coordinator.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/guix-build-coordinator.in b/scripts/guix-build-coordinator.in
index 18b6ac9..f3be3d5 100644
--- a/scripts/guix-build-coordinator.in
+++ b/scripts/guix-build-coordinator.in
@@ -663,8 +663,10 @@ tags:
#:ignore-if-build-required-by-another?
(assq-ref
opts 'ignore-if-build-required-by-another))))
- (simple-format #t "~A\n"
- (assoc-ref result "result")))
+ (unless (string=? (assoc-ref result "result")
+ "build-canceled")
+ (simple-format #t "~A\n"
+ (assoc-ref result "result"))))
(report))
matching-builds)))
(loop (get-batch)))))))