mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-04-08 18:35:05 +02:00
fix Include abs path on Windows
This commit is contained in:
parent
a915f06c78
commit
8145ce25b1
@ -2319,7 +2319,11 @@ process_server_config_line_depth(ServerOptions *options, char *line,
|
||||
}
|
||||
value++;
|
||||
found = 0;
|
||||
#ifdef WINDOWS
|
||||
if (!path_absolute(arg2) && *arg2 != '~') {
|
||||
#else
|
||||
if (*arg2 != '/' && *arg2 != '~') {
|
||||
#endif
|
||||
xasprintf(&arg, "%s/%s", SSHDIR, arg2);
|
||||
} else
|
||||
arg = xstrdup(arg2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user