From 31cd8fd34af66234f02e9cc56b61e6c6aab3cb23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 6 Jan 2014 17:03:57 +0100 Subject: [PATCH] Flush writer. --- .../java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java b/src/main/java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java index 7a4869b..34e0716 100644 --- a/src/main/java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java +++ b/src/main/java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java @@ -59,6 +59,7 @@ public class FailedDownloadsCommand implements Command { downloadIndex++; } outputWriter.write("End of failed downloads.\n"); + outputWriter.flush(); return state.setLastFailedDownloads(new ArrayList<>(failedDownloads)); } -- 2.7.4