diff --git a/SparkleLib/SparkleRepo.cs b/SparkleLib/SparkleRepo.cs index 01e7450b..01b0dec9 100644 --- a/SparkleLib/SparkleRepo.cs +++ b/SparkleLib/SparkleRepo.cs @@ -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)) {