Skip to content

Commit 6273955

Browse files
authored
Update modules/ssh/init.go
1 parent d8d677a commit 6273955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ssh/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func Init() error {
4141
caKeysFileName := setting.SSH.TrustedUserCAKeysFile
4242
caKeysFileDir := filepath.Dir(caKeysFileName)
4343

44-
err := os.MkdirAll(caKeysFileDir, 0o700) // it should be the SSH.RootPath by default (`~/.ssh` in most cases)
44+
err := os.MkdirAll(caKeysFileDir, 0o700) // SSH.RootPath by default (That is `~/.ssh` in most cases)
4545
if err != nil {
4646
return fmt.Errorf("failed to create directory %q for ssh trusted ca keys: %w", caKeysFileDir, err)
4747
}

0 commit comments

Comments
 (0)