mirror of https://github.com/djcb/mu.git
* mu-cmd-index: restart 'processed' at 0 when cleaning up after indexing
This commit is contained in:
parent
2846a40025
commit
01d6fbb257
|
@ -240,8 +240,10 @@ mu_cmd_index (MuConfigOptions *opts)
|
|||
g_message ("Database: %s", opts->xpath);
|
||||
|
||||
rv = run_index (midx, opts->maildir, &stats, opts->reindex, opts->quiet);
|
||||
if (rv == MU_OK && !opts->nocleanup)
|
||||
if (rv == MU_OK && !opts->nocleanup) {
|
||||
stats._processed = 0; /* restart processed at 0 */
|
||||
rv = run_cleanup (midx, &stats, opts->quiet);
|
||||
}
|
||||
|
||||
mu_index_destroy (midx);
|
||||
|
||||
|
|
Loading…
Reference in New Issue