compact: unconditionally remove old wip database compact directory
authorTomi Ollila <tomi.ollila@iki.fi>
Thu, 14 Nov 2013 22:03:26 +0000 (00:03 +0200)
committerDavid Bremner <david@tethera.net>
Wed, 20 Nov 2013 00:14:28 +0000 (20:14 -0400)
commit6452ae0fcb0a2ee45a47144da71a6de9d8dace2c
tree65e67a318d4db3c31104c220170b3435a2e05c1a
parentcb6cc296e27fdab85faa4bdd670eda2e0c53b8c2
compact: unconditionally remove old wip database compact directory

In case previous notmuch compact has been interrupted there is old
work-in-progress database compact directory partially filled. Remove
it just before starting to fill the directory with new files.
lib/database.cc