diff --git a/app.go b/app.go index 92d4ae4..216b166 100644 --- a/app.go +++ b/app.go @@ -518,7 +518,9 @@ func (a AppConfig) RefreshSnapshot() error { refreshSnapshot := make(map[string]struct{}) for _, v := range a.Sources { - refreshSnapshot[v.Box()] = struct{}{} + if cfg.Box[v.Box()].online { + refreshSnapshot[v.Box()] = struct{}{} + } } for _, v := range a.Destinations { if cfg.Box[v.Box()].online { diff --git a/version.go b/version.go index 79358d5..d7fe4c0 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "28bae81" -var buildstamp = "2022-06-17_14:02:53" -var commits = "39" -var version = "28bae81-b39 - 2022-06-17_14:02:53" +var githash = "23d7d90" +var buildstamp = "2022-06-17_14:07:22" +var commits = "40" +var version = "23d7d90-b40 - 2022-06-17_14:07:22"