mirror of
https://github.com/curl/curl.git
synced 2026-06-27 21:43:16 +03:00
s2
This commit is contained in:
parent
7aa55663c3
commit
1ff63dde7d
10 changed files with 38 additions and 38 deletions
|
|
@ -677,7 +677,7 @@ sub sshd_supports_opt {
|
|||
($sshdid =~ /SunSSH/)) {
|
||||
# ssh daemon supports command line options -t -f and -o
|
||||
$err = grep /((Unsupported)|(Bad configuration)|(Deprecated)) option.*$option/,
|
||||
`\"$sshd\" -t -f $sshdconfig_abs -o \"$option=$value\" 2>&1`;
|
||||
qx(\"$sshd\" -t -f $sshdconfig_abs -o \"$option=$value\" 2>&1);
|
||||
return !$err;
|
||||
}
|
||||
if(($sshdid =~ /OpenSSH/) && ($sshdvernum >= 299)) {
|
||||
|
|
@ -688,7 +688,7 @@ sub sshd_supports_opt {
|
|||
return 0;
|
||||
}
|
||||
$err = grep /((Unsupported)|(Bad configuration)|(Deprecated)) option.*$option/,
|
||||
`\"$sshd\" -t -f $sshdconfig_abs 2>&1`;
|
||||
qx(\"$sshd\" -t -f $sshdconfig_abs 2>&1);
|
||||
unlink $sshdconfig;
|
||||
return !$err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue