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.sogomaint-2.0.2
parent
10fcfbfce6
commit
6d32af8c82
|
@ -3,4 +3,4 @@
|
||||||
SOGOSPOOL=/var/spool/sogo
|
SOGOSPOOL=/var/spool/sogo
|
||||||
|
|
||||||
/usr/sbin/tmpwatch 24 "$SOGOSPOOL"
|
/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
|
||||||
|
|
Loading…
Reference in New Issue