Use SparkleHelpers.CombineMore instead of Path.Combine
This commit is contained in:
parent
4a65df43a1
commit
f4abd82631
|
@ -908,7 +908,7 @@ namespace SparkleShare {
|
||||||
private void DisableHostKeyCheckingForHost (string host)
|
private void DisableHostKeyCheckingForHost (string host)
|
||||||
{
|
{
|
||||||
|
|
||||||
string ssh_config_file_path = Path.Combine
|
string ssh_config_file_path = SparkleHelpers.CombineMore
|
||||||
(SparklePaths.HomePath, ".ssh", "config");
|
(SparklePaths.HomePath, ".ssh", "config");
|
||||||
|
|
||||||
string ssh_config = "Host " + host + "\n" +
|
string ssh_config = "Host " + host + "\n" +
|
||||||
|
@ -934,7 +934,7 @@ namespace SparkleShare {
|
||||||
private void EnableHostKeyCheckingForHost (string host)
|
private void EnableHostKeyCheckingForHost (string host)
|
||||||
{
|
{
|
||||||
|
|
||||||
string ssh_config_file_path = Path.Combine
|
string ssh_config_file_path = SparkleHelpers.CombineMore
|
||||||
(SparklePaths.HomePath, ".ssh", "config");
|
(SparklePaths.HomePath, ".ssh", "config");
|
||||||
|
|
||||||
string ssh_config = "Host " + host + "\n" +
|
string ssh_config = "Host " + host + "\n" +
|
||||||
|
|
Loading…
Reference in a new issue