controller: quote key path when importing key
This commit is contained in:
parent
6de5fc43ce
commit
74a2dd9339
|
@ -728,7 +728,7 @@ namespace SparkleShare {
|
|||
process.StartInfo.RedirectStandardOutput = true;
|
||||
process.StartInfo.UseShellExecute = false;
|
||||
process.StartInfo.FileName = "ssh-add";
|
||||
process.StartInfo.Arguments = Path.Combine (keys_path, key_file_name);
|
||||
process.StartInfo.Arguments = "\"" + Path.Combine (keys_path, key_file_name) + "\"";
|
||||
process.Start ();
|
||||
process.WaitForExit ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue