X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Forg%2Fibex%2Futil%2FLog.java;h=5d092160af7fad7091406088a819adbf7d0038f4;hb=ae0cd6164facf843cc136f52e3f78e3843191d61;hp=9d03e6ea39b50c77dfacb9041d65b8377e1b01a0;hpb=c28ed126fbc51fb5794bb367f51a8755dc20140e;p=org.ibex.core.git 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")); }