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