Define the LANG variable when executing actions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
nemunaire 2023-11-04 10:04:29 +01:00
parent ea1724e2ca
commit 37c951ef85
4 changed files with 24 additions and 6 deletions

View file

@ -148,9 +148,15 @@ func (a *Routine) Launch(cfg *config.Config) error {
continue
}
settings, err := ReadSettings(cfg.SettingsFile)
if err != nil {
log.Printf("Unable to read settings: %s", err.Error())
continue
}
time.Sleep(time.Duration(s.Delay) * time.Second)
cmd, err := act.Launch()
cmd, err := act.Launch(settings)
if err != nil {
log.Printf("Unable to launch the action %q: %s", s.Action, err.Error())
continue