mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-07 02:50:39 +00:00
make back compatible
This commit is contained in:
@@ -2,7 +2,8 @@ package internal
|
||||
|
||||
func RunCron() error {
|
||||
c := GetConfig()
|
||||
for _, l := range c.Locations {
|
||||
for name, l := range c.Locations {
|
||||
l.name = name
|
||||
if err := l.RunCron(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user