mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
reschedule the job if any hook fails
This commit is contained in:
parent
9e91fd706e
commit
839363aaaa
@ -113,7 +113,7 @@ func (m *mirrorJob) Run(managerChan chan<- jobMessage, semaphore chan empty) err
|
||||
managerChan <- jobMessage{
|
||||
tunasync.Failed, m.Name(),
|
||||
fmt.Sprintf("error exec hook %s: %s", hookname, err.Error()),
|
||||
false,
|
||||
true,
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user