diff --git a/cmd/skm/main.go b/cmd/skm/main.go index 563eec2..ea92dae 100644 --- a/cmd/skm/main.go +++ b/cmd/skm/main.go @@ -21,6 +21,9 @@ func init() { if envStorePath := os.Getenv("SKM_STORE_PATH"); envStorePath != "" { defaultStorePath = envStorePath } + if d, err := os.Readlink(defaultStorePath); err == nil { + defaultStorePath = d + } } func main() {