mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +00:00
Log syncthing restarts.
This commit is contained in:
parent
37044eea4c
commit
201bc9ecae
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ public class SyncthingRunnable implements Runnable {
|
|||
log(process.getErrorStream(), Log.WARN);
|
||||
|
||||
ret = process.waitFor();
|
||||
|
||||
if (ret == 3) {
|
||||
Log.i(TAG, "Restarting syncthing");
|
||||
}
|
||||
} while (ret == 3);
|
||||
} catch (IOException | InterruptedException e) {
|
||||
Log.e(TAG, "Failed to execute syncthing binary or read output", e);
|
||||
|
|
Loading…
Reference in a new issue