This commit is contained in:
shoopea 2021-10-18 22:27:54 +08:00
parent 29d37e0dc1
commit 91a7a2a2ce

3
ssh.go
View File

@ -62,6 +62,9 @@ func (s *SSHConfig) getFirstSnapshot(path string) (Snapshot, error) {
for _, v := range s.snapshot {
if v.Path() == path {
first = v
if *debugFlag {
log.Printf("SSHConfig.getFirstSnapshot : Return %s", string(first))
}
return first, nil
}
}