This commit is contained in:
shoopea committed 2021-10-18 22:27:54 +08:00
1 parent 29d37e0dc1
commit 91a7a2a2ce
1 file changed
+3
+3
View File
@@ -62,6 +62,9 @@ func (s *SSHConfig) getFirstSnapshot(path string) (Snapshot, error) {
for _, v := range s.snapshot { for _, v := range s.snapshot {
if v.Path() == path { if v.Path() == path {
first = v first = v
if *debugFlag {
log.Printf("SSHConfig.getFirstSnapshot : Return %s", string(first))
}
return first, nil return first, nil
} }
} }