[repo] don't fetch when there's no network connection

This commit is contained in:
Hylke Bons 2010-08-23 09:42:34 +01:00
parent ace62fd454
commit d908e25ac8

View file

@ -156,8 +156,11 @@ namespace SparkleLib {
process.Start ();
process.Exited += delegate {
if (process.ExitCode != 0)
return;
string remote_hash = process.StandardOutput.ReadToEnd ();
string remote_hash = process.StandardOutput.ReadToEnd ();
if (!remote_hash.StartsWith (CurrentHash)) {