summaryrefslogtreecommitdiffstats
path: root/tools/usb
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-11-30 16:38:41 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-21 13:28:19 +0100
commit1ad78471c7c64a3b29611d32be5ededf97caa52d (patch)
tree326afb14684d43e219c5bcecaa3d686e1c79915a /tools/usb
parentc15018f5a0090465502492617f4f28b7993f9efc (diff)
downloadlinux-stable-1ad78471c7c64a3b29611d32be5ededf97caa52d.tar.gz
linux-stable-1ad78471c7c64a3b29611d32be5ededf97caa52d.tar.bz2
linux-stable-1ad78471c7c64a3b29611d32be5ededf97caa52d.zip
ktest.pl: Fix the logic for truncating the size of the log file for email
commit 170f4869e66275f498ae4736106fb54c0fdcd036 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions