mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
42311b9e8d
commit
b9e89868c5
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ func (t *Ticker) Start() error {
|
|||
return t.SetRunning(true, func() {
|
||||
log.Info("Ticker running with period %.fs.", t.Period.Seconds())
|
||||
tick := time.Tick(t.Period)
|
||||
for _ = range tick {
|
||||
for range tick {
|
||||
if t.Running() == false {
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue