controller: quote key path when importing key

This commit is contained in:
Hylke Bons 2011-06-22 23:40:43 +01:00
parent 5fe1841992
commit 8d979d4e7b

View file

@ -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 ();
}