X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fxdcc%2Fui%2Fstdin%2FFailedDownloadsCommand.java;h=34e07169969a3a7447678a479c0d6e2225f25978;hb=31cd8fd34af66234f02e9cc56b61e6c6aab3cb23;hp=7a4869b683f7f337c147b5a4a080280bd741ac43;hpb=a488ccc7436f131efaf51e81f003f9a4862d1a74;p=xudocci.git 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)); }