Fixed tmpwatch script to avoid deleting the spool directory.

Monotone-Parent: 341e6e2a2c5d1fda9e10359bcd2c9a3afa7b8766
Monotone-Revision: 57eac757f7d831fe529b14ff7416da35dd2eeff0

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-01-03T18:32:33
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2011-01-03 18:32:33 +00:00
parent 10fcfbfce6
commit 6d32af8c82
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@
SOGOSPOOL=/var/spool/sogo
/usr/sbin/tmpwatch 24 "$SOGOSPOOL"
find "$SOGOSPOOL" -mindepth 1 -type d -empty -exec /bin/rmdir -p {} \; 2> /dev/null
find "$SOGOSPOOL" -depth -mindepth 1 -type d -empty -exec /bin/rmdir {} \; 2> /dev/null