mirror of
https://github.com/tstack/lnav
synced 2024-11-05 21:21:19 +00:00
[capture] don't save any empty stdin
This commit is contained in:
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…
Reference in New Issue
Block a user