diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java index 94591393a..ea2ef358b 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java @@ -224,6 +224,8 @@ public class Main { } finally { if (cmd.outw != null) cmd.outw.flush(); + if (cmd.errw != null) + cmd.errw.flush(); } }