tests: fix sshd IdentityFile path for MinGW/Cygwin
This was missed during some refactoring more than a year ago and is
causing a warning "Use of uninitialized value $path in pattern match".
Follow-up to 70d2fca2
Ref: #10818
Closes #14113
This commit is contained in:
parent
96a1a05f66
commit
b7b413e75c
@ -847,7 +847,7 @@ if ($sshdid =~ /OpenSSH-Windows/) {
|
||||
}
|
||||
elsif (pathhelp::os_is_win()) {
|
||||
# Ensure to use MinGW/Cygwin paths
|
||||
$identity_config = pathhelp::build_sys_abs_path($identity_config);
|
||||
$identity_config = pathhelp::build_sys_abs_path($identity);
|
||||
$knownhosts_config = pathhelp::build_sys_abs_path($knownhosts_config);
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user