aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-30 22:45:05 +0900
committerOphestra <cat@gensokyo.uk>2026-07-30 22:45:05 +0900
commit5e1b4bb0b81b00d154138ba1d20693afebcad50a (patch)
tree13c4ce5bbdfcd7baf6c1988924ec2e85520ac311 /cmd
parente73f9e0626d5ac3055feac76b0eb0dfa8f25dd4c (diff)
cmd/mbf: print checksum to stdout
Same as the cure command, enables usage in scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mbf/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index ba0a161f..6ddfb142 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -283,7 +283,7 @@ func main() {
if _, err := io.Copy(h, os.Stdin); err != nil {
return err
}
- log.Println(pkg.Encode(pkg.Checksum(h.Sum(nil))))
+ fmt.Println(pkg.Encode(pkg.Checksum(h.Sum(nil))))
return nil
},
)