]> Cypherpunks.ru repositories - goredo.git/blobdiff - status.go
Ability to disable redo progress printing at all
[goredo.git] / status.go
index 994e431d57739f1848c386b92003338cea2f0e98..b918c65671dfbe5ebedb32dfadc9a43a5adcac7b 100644 (file)
--- a/status.go
+++ b/status.go
@@ -40,7 +40,7 @@ var (
 )
 
 func statusInit() {
-       if *flagNoStatus {
+       if NoProgress || *flagNoStatus {
                return
        }
        if v := os.Getenv(EnvNoStatus); v == "1" {