From 91a7a2a2cef2257276e7bbc77c5ad3036b39d26f Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 18 Oct 2021 22:27:54 +0800 Subject: [PATCH] test --- ssh.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ssh.go b/ssh.go index 3c20023..fd679e6 100644 --- a/ssh.go +++ b/ssh.go @@ -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 } }