mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
rcutorture: Don't keep empty console.log.diags files
Currently, an error-free run produces an empty console.log.diags file. This can be annoying when using "vi */console.log.diags" to see a full summary of the errors. This commit therefore removes any empty files during the analysis process. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
f5a5386bca
commit
fc91cbab11
1 changed files with 2 additions and 0 deletions
|
@ -70,4 +70,6 @@ then
|
|||
summary="$summary Stalls: $n_stalls"
|
||||
fi
|
||||
print_warning Summary: $summary
|
||||
else
|
||||
rm $1.diags
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue