]> Cypherpunks.ru repositories - gocheese.git/blobdiff - integrity.go
Constants should be constants
[gocheese.git] / integrity.go
index a96d80edb1849058c3f8a6c51f8855c2d007c7e1..dc9c51e1822be43948e08b0b4627e8d5684d67de 100644 (file)
@@ -1,6 +1,6 @@
 /*
 GoCheese -- Python private package repository and caching proxy
-Copyright (C) 2019 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2019-2020 Sergey Matveev <stargrave@stargrave.org>
 
 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
@@ -64,7 +64,7 @@ func goodIntegrity() bool {
                                fmt.Println(pkgName, "GOOD")
                        } else {
                                isGood = false
-                               fmt.Println(pkgName, "BAD")
+                               fmt.Fprintln(os.Stderr, pkgName, "BAD")
                        }
                        hasher.Reset()
                }