[controller] We has to wait for ssh-add to finish

This commit is contained in:
Kepi 2011-04-16 21:53:21 +02:00
parent 462fd68708
commit 4ad1afc650

View file

@ -819,6 +819,7 @@ namespace SparkleShare {
process.StartInfo.FileName = "ssh-add";
process.StartInfo.Arguments = Path.Combine (keys_path, key_file_name);
process.Start ();
process.WaitForExit ();
}