mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
Add test for tarfile exclusion
This commit is contained in:
@@ -365,6 +365,7 @@ func load_config(hostname_to_match string, username_to_match string, overrides [
|
||||
if len(paths) == 0 {
|
||||
paths = []string{filepath.Join(utils.ConfigDir(), "ssh.conf")}
|
||||
}
|
||||
paths = utils.Filter(paths, func(x string) bool { return x != "" })
|
||||
err := p.ParseFiles(paths...)
|
||||
if err != nil && !errors.Is(err, fs.ErrNotExist) {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user