diff --git a/src/system/boot/platform/efi/serial.cpp b/src/system/boot/platform/efi/serial.cpp index 5a3bafb9be..9d74d8ce74 100644 --- a/src/system/boot/platform/efi/serial.cpp +++ b/src/system/boot/platform/efi/serial.cpp @@ -86,7 +86,7 @@ serial_putc(char ch) extern "C" void serial_puts(const char* string, size_t size) { - if (!sSerialEnabled) + if (!sSerialEnabled || (sSerial == NULL && sSerialUsesEFI)) return; while (size-- != 0) {