diff options
| author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-11-30 16:38:41 -0500 |
|---|---|---|
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-11-30 16:41:00 -0500 |
| commit | 170f4869e66275f498ae4736106fb54c0fdcd036 (patch) | |
| tree | dbda30650e6536d9d8b5f702322421aaa09b0b12 /scripts/patch-kernel | |
| parent | ktest.pl: If size of log is too big to email, email error message (diff) | |
| download | linux-170f4869e66275f498ae4736106fb54c0fdcd036.tar.gz linux-170f4869e66275f498ae4736106fb54c0fdcd036.zip | |
ktest.pl: Fix the logic for truncating the size of the log file for email
The logic for truncating the log file for emailing based on the
MAIL_MAX_SIZE option is confusing and incorrect. Simplify it and have the
tail of the log file truncated to the max size specified in the config.
Cc: stable@vger.kernel.org
Fixes: 855d8abd2e8ff ("ktest.pl: Change the logic to control the size of the log file emailed")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
