]> Cypherpunks.ru repositories - gocheese.git/commitdiff
Use stderr for -fsck errors
authorSergey Matveev <stargrave@stargrave.org>
Fri, 24 Jul 2020 09:08:15 +0000 (12:08 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 24 Jul 2020 09:08:15 +0000 (12:08 +0300)
VERSION
gocheese.go
install.texi
integrity.go

diff --git a/VERSION b/VERSION
index 276cbf9e2858c779297bb9f73b34170302949ec4..197c4d5c2d7c724b4cd0048f4e3574bb3fa5c8db 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.3.0
+2.4.0
index 905856df61fc53a15c7bb1993b2b988947909825..70573b8f0085451ca716cb0b62e594697bb95481 100644 (file)
@@ -93,7 +93,7 @@ var (
        pypiURL          = flag.String("pypi", "https://pypi.org/simple/", "Upstream PyPI URL")
        passwdPath       = flag.String("passwd", "passwd", "Path to file with authenticators")
        passwdCheck      = flag.Bool("passwd-check", false, "Test the -passwd file for syntax errors and exit")
-       fsck             = flag.Bool("fsck", false, "Check integrity of all packages")
+       fsck             = flag.Bool("fsck", false, "Check integrity of all packages (errors are in stderr)")
        maxClients       = flag.Int("maxclients", 128, "Maximal amount of simultaneous clients")
        version          = flag.Bool("version", false, "Print version information")
        warranty         = flag.Bool("warranty", false, "Print warranty information")
index dc95c2ddf293ba751f7a05ba8e2f5c16912aa71d..19a9c06236438723ce36e17ab162e48cc4feec93 100644 (file)
@@ -1,7 +1,7 @@
 @node Install
 @unnumbered Install
 
-@set VERSION 2.3.0
+@set VERSION 2.4.0
 
 Preferable way is to download tarball with the signature from
 website and, for example, run tests with benchmarks:
index 882934891ae5501922286bd832bc4877a5b2f624..dc9c51e1822be43948e08b0b4627e8d5684d67de 100644 (file)
@@ -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()
                }