From 581e355366a300d24f9aae32c70a014edb6577e1 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 18 Aug 2014 00:22:03 +0200 Subject: [PATCH] Use correct stream for syncthing output. --- .../nutomic/syncthingandroid/syncthing/SyncthingRunnable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java index 0aad51e2..06f4a69e 100644 --- a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java +++ b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java @@ -54,7 +54,7 @@ public class SyncthingRunnable implements Runnable { dos.writeBytes("exit\n"); dos.flush(); - log(process.getErrorStream()); + log(process.getInputStream()); ret = process.waitFor(); }