diff --git a/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java b/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java
@@ -366,6 +366,8 @@ public final class MediaDriver implements AutoCloseable
                     if ('/' == c || '\\' == c)
                     {
                         builder.setLength(lastCharIndex);
+                    } else {
+                        break;
                     }
                 }
[Java] Bug fix in reportExistingErrors