From: Sergey Matveev Date: Fri, 27 Feb 2026 08:54:26 +0000 (+0300) Subject: Unify case in error message X-Git-Tag: v1.5.0~6 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=36bd94fb85c051bc9a4f280896383f91616526e8;p=meta4ra.git Unify case in error message --- 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 } }