]> www.infradead.org Git - users/dedekind/aiaiai.git/commit
aiaiai-email-lda: allow reaping of series directories
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 26 Aug 2015 01:04:22 +0000 (18:04 -0700)
committerJacob Keller <jacob.e.keller@intel.com>
Wed, 26 Aug 2015 20:33:00 +0000 (13:33 -0700)
commitbd31a63979d46ff6fa941f1711921cd29e4f607e
treedf55f899bc08617a3dc7955f87e75c228b346262
parent58ef2bccea518a0b27a2c61fe68296e3a954682d
aiaiai-email-lda: allow reaping of series directories

reap_old did not remove series directories, because "rm -f" does not
remove directories. However, adding just "-r" to the rm command results
in extraneous "directory does not exist" because find will be searching
more than one depth. Change reap_old to have a max depth of 1 so that it
doesn't descend into directories and will happily remove series
directories created inside of queue.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
email/aiaiai-email-lda