fix lint errors

This commit is contained in:
Adem Baccara
2025-08-26 18:24:44 +01:00
parent 9a6b8f4702
commit a70ecef4f2
5 changed files with 47 additions and 21 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func New(service string, outputPaths ...string) (*zap.SugaredLogger, error) {
return nil, err
}
logDir := filepath.Join(home, ".lazyssh")
if err := os.MkdirAll(logDir, 0o755); err != nil {
if err := os.MkdirAll(logDir, 0o750); err != nil {
return nil, err
}
config.OutputPaths = []string{filepath.Join(logDir, "lazyssh.log")}