From 36bd94fb85c051bc9a4f280896383f91616526e8 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 27 Feb 2026 11:54:26 +0300 Subject: [PATCH] Unify case in error message --- cmd/check.go | 8 ++++---- cmd/list.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/check.go b/cmd/check.go index 7f83a6d..aa180f3 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -140,7 +140,7 @@ format, then you can just specify an empty ("") FILE. if !*pipe { src, err = os.Open(fullPath) if err != nil { - log.Println("Error:", f.Name, err) + log.Println("error:", f.Name, err) bad = true continue } @@ -151,7 +151,7 @@ format, then you can just specify an empty ("") FILE. src.Close() } hasher.Stop() - log.Println("Error:", f.Name, err) + log.Println("error:", f.Name, err) bad = true continue } @@ -172,14 +172,14 @@ format, then you can just specify an empty ("") FILE. } if err != nil { hasher.Stop() - log.Println("Error:", f.Name, err) + log.Println("error:", f.Name, err) bad = true continue } sums, err := hasher.Sums() if err != nil { hasher.Stop() - log.Println("Error:", f.Name, err) + log.Println("error:", f.Name, err) bad = true continue } diff --git a/cmd/list.go b/cmd/list.go index 45a3640..fdf0f54 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -88,7 +88,7 @@ Otherwise list all URLs of the given FILE. []byte(strings.TrimPrefix(sig.Signature, "\n")), fs.FileMode(0o666), ); err != nil { - log.Println("Error:", f.Name, "can not save signature:", err) + log.Println("error:", f.Name, "can not save signature:", err) bad = true } } -- 2.52.0