Avoid possible error message in the console
@@ -386,8 +386,10 @@ public class ConsoleSessionImpl implements Session {
if (command == null) {
break;
}
+ if (command.length() > 0) {
doExecute(command);
}
+ }
close();
} finally {
try {
