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