[for-linus][PATCH 2/2] ktest.pl: Fix the logic for truncating the size of the log file for email