Merge pull request #7416 from estenrye/fix_issue_7414
Fix invalid character issue on Windows.
This commit is contained in:
commit
e42be44d13
|
@ -120,7 +120,7 @@ func parseSSHConfig(lines []string, value string) string {
|
||||||
out = line[index+len(value):]
|
out = line[index+len(value):]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return out
|
return strings.Trim(out, "\r\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
func yesno(yn string) bool {
|
func yesno(yn string) bool {
|
||||||
|
|
Loading…
Reference in New Issue