diff --git a/mtda/templates/index.html b/mtda/templates/index.html
index 3b0cccd7..222cb8e6 100644
--- a/mtda/templates/index.html
+++ b/mtda/templates/index.html
@@ -173,7 +173,9 @@
const storage_status = document.getElementById("storage-status-icon")
socket.on("console-output", function (data) {
- term.write(data.output);
+ if (data.output != null) {
+ term.write(data.output);
+ }
});
socket.on("mtda-version", function (data) {