Fix leftover debug value.

This commit is contained in:
Felix Ableitner 2014-05-19 17:16:07 +02:00
parent a0881ca8c8
commit be2dbaffb1
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class SyncthingService extends Service {
Log.e(TAG, "Failed to execute syncthing binary or read output", e);
}
finally {
if (ret != 1) {
if (ret != 0) {
stopSelf();
// Include the log for Play Store crash reports.
throw new NativeExecutionException("Syncthing binary returned error code " +