1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 12:21:15 +00:00

Fix leftover debug value.

This commit is contained in:
Felix Ableitner 2014-05-19 17:16:07 +02:00
parent a0881ca8c8
commit be2dbaffb1

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 " +