diff --git a/compy.go b/compy.go index 56dc26f..98c3c1f 100644 --- a/compy.go +++ b/compy.go @@ -69,7 +69,7 @@ func main() { c := make(chan os.Signal, 2) signal.Notify(c, os.Interrupt) go func() { - for _ = range c { + for range c { read := atomic.LoadUint64(&p.ReadCount) written := atomic.LoadUint64(&p.WriteCount) log.Printf("compy exiting, total transcoded: %d -> %d (%3.1f%%)",