From d87c24ccdc2ff6ea4bae037e7add97d569642e9d Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 9 Dec 2010 17:05:36 +0000 Subject: [PATCH] Added mindepth parameter to find command in tmpwatch script. Monotone-Parent: f3b51cf476c6230ef82b433a28fb5b9fc99ecba7 Monotone-Revision: e1db6c4ec1e7a829a4976be2bd87d40d1d0a5d5f Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-12-09T17:05:36 Monotone-Branch: ca.inverse.sogo --- Scripts/tmpwatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/tmpwatch b/Scripts/tmpwatch index 826b4313d..73b572079 100644 --- a/Scripts/tmpwatch +++ b/Scripts/tmpwatch @@ -3,4 +3,4 @@ SOGOSPOOL=/var/spool/sogo /usr/sbin/tmpwatch 24 "$SOGOSPOOL" -find "$SOGOSPOOL" -type d -empty -exec /bin/rmdir -p {} \; 2> /dev/null +find "$SOGOSPOOL" -mindepth 1 -type d -empty -exec /bin/rmdir -p {} \; 2> /dev/null