[controller] We has to wait for ssh-add to finish
This commit is contained in:
parent
d4bdea0be6
commit
94806b1480
|
@ -819,6 +819,7 @@ namespace SparkleShare {
|
||||||
process.StartInfo.FileName = "ssh-add";
|
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.Start ();
|
||||||
|
process.WaitForExit ();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue