This commit is contained in:
shoopea
2022-04-16 21:11:05 +08:00
parent cddb2223e9
commit ed261141f5
2 changed files with 7 additions and 5 deletions

4
app.go
View File

@@ -516,7 +516,9 @@ func (a AppConfig) RefreshSnapshot() error {
refreshSnapshot[v.Box()] = struct{}{}
}
for _, v := range a.Destinations {
refreshSnapshot[v.Box()] = struct{}{}
if cfg.Box[v.Box()].online {
refreshSnapshot[v.Box()] = struct{}{}
}
}
for k, _ := range refreshSnapshot {
if *debugFlag {