X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=integrity.go;h=7ca0a0c07ce22de4649afbb12d08fcf0d3e10e83;hb=cb0449b3d3da2498e360098694a556c882d454bd;hp=dc9c51e1822be43948e08b0b4627e8d5684d67de;hpb=d3f2ebfa80e9b514ed94a0f4fc76c6bef7e71006;p=gocheese.git diff --git a/integrity.go b/integrity.go index dc9c51e..7ca0a0c 100644 --- a/integrity.go +++ b/integrity.go @@ -1,6 +1,6 @@ /* GoCheese -- Python private package repository and caching proxy -Copyright (C) 2019-2020 Sergey Matveev +Copyright (C) 2019-2021 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -61,10 +61,10 @@ func goodIntegrity() bool { log.Fatal(err) } if bytes.Compare(hasher.Sum(digest[:0]), data) == 0 { - fmt.Println(pkgName, "GOOD") + fmt.Println("GOOD", pkgName) } else { isGood = false - fmt.Fprintln(os.Stderr, pkgName, "BAD") + fmt.Println("BAD", pkgName) } hasher.Reset() }