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 {

View File

@ -1,6 +1,6 @@
// Code generated by version.sh (@generated) DO NOT EDIT.
package main
var githash = "fd62711"
var buildstamp = "2022-04-16_13:08:54"
var commits = "30"
var version = "fd62711-b30 - 2022-04-16_13:08:54"
var githash = "cddb222"
var buildstamp = "2022-04-16_13:10:55"
var commits = "31"
var version = "cddb222-b31 - 2022-04-16_13:10:55"