X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Futil%2FLog.java;h=5d092160af7fad7091406088a819adbf7d0038f4;hp=9d03e6ea39b50c77dfacb9041d65b8377e1b01a0;hb=b1a58aeb4adfade0697650583ec5801fa6e88d5e;hpb=1e2ac9c2eef012a3e77133817803878bacfa91b8 diff --git a/src/org/ibex/util/Log.java b/src/org/ibex/util/Log.java index 9d03e6e..5d09216 100644 --- a/src/org/ibex/util/Log.java +++ b/src/org/ibex/util/Log.java @@ -130,7 +130,7 @@ public class Log { try { String m = ""; while((s = br.readLine()) != null) m += s + "\n"; - log(o, m.substring(0, m.length() - 1), level); + if (m.length() > 0) log(o, m.substring(0, m.length() - 1), level); } catch (IOException e) { logstream.println(colorize(RED, true, "Logger: exception thrown by ByteArrayInputStream -- this should not happen")); }