diff --git a/construct/console.cc b/construct/console.cc index 6e6436df1..c18bc2b74 100644 --- a/construct/console.cc +++ b/construct/console.cc @@ -348,6 +348,9 @@ construct::console::handle_line_bymodule() append(*record_fd, string_view(cmdline)); } + if(empty(str)) + return; + append(*record_fd, str); }