[capture] don't save any empty stdin

pull/1084/head
Tim Stack 1 year ago
parent 5266054af0
commit 3e7a75c00b

@ -3301,6 +3301,7 @@ SELECT tbl_name FROM sqlite_master WHERE sql LIKE 'CREATE VIRTUAL TABLE%'
}
if (!ghc::filesystem::exists(stdin_tmp_path)
|| verbosity == verbosity_t::quiet || !stdin_size
|| stdin_size.value() == 0
|| stdin_size.value() > MAX_STDIN_CAPTURE_SIZE)
{
std::error_code rm_err_code;

Loading…
Cancel
Save