From 6d32af8c827ed490da94e6c05e519a80368107cc Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 3 Jan 2011 18:32:33 +0000 Subject: [PATCH] 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 --- Scripts/tmpwatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/tmpwatch b/Scripts/tmpwatch index 73b572079..00f4e0366 100644 --- a/Scripts/tmpwatch +++ b/Scripts/tmpwatch @@ -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