mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-10 05:55:25 +00:00
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
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user