diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-04-14 11:38:58 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-04-14 11:38:58 +0200 |
commit | 1ee0268759dfab17f3a2c4b21a89510bf7274358 (patch) | |
tree | 52cd44bd25f3083fd156310691a59b8b52b89b9e | |
parent | db20f44b0d100ad042c2f86b8baf394665d8ec63 (diff) | |
download | htping-1ee0268759dfab17f3a2c4b21a89510bf7274358.tar.gz htping-1ee0268759dfab17f3a2c4b21a89510bf7274358.tar.xz htping-1ee0268759dfab17f3a2c4b21a89510bf7274358.zip |
actually use waitCh v0.1
-rw-r--r-- | htping.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/htping.go b/htping.go index 5010c39..eca94b2 100644 --- a/htping.go +++ b/htping.go @@ -419,6 +419,7 @@ func main() { waitCh := make(chan struct{}) go func() { wg.Wait() + close(waitCh) }() select { |