Most calls of rmtree() report an error, and the code coming from
38bfae3
has introduced one caller where this is not done. The previous behavior
was to not fail hard if any log file generated is not properly unlinked
when cleaning up the contents generated once the upgrade has completed,
so add a cast to (void) to indicate the intention behind this new code.
Per gripe from Coverity.
/* Remove dump and log files? */
if (!log_opts.retain)
- rmtree(log_opts.basedir, true);
+ (void) rmtree(log_opts.basedir, true);
}