oops
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 9 Nov 2009 09:21:24 +0000 (09:21 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 9 Nov 2009 09:21:24 +0000 (09:21 +0000)
scripts/nightly-clean-trash.sh

index 41fd312..c5cdeba 100755 (executable)
@@ -6,7 +6,7 @@
 [[ -n "$@" ]] && [ "$1" = "-n" ] && set -x
 
 todelete=$(find /build/trash -maxdepth 1 -mtime +1 -print | grep -v 'trash/*$')
-potential_vservers=$(find /build/trash -maxdepth +1 -type d -print | grep -v 'trash/*$')
+potential_vservers=$(find /build/trash -maxdepth 1 -type d -print | grep -v 'trash/*$')
 
 # clean the vservers first
 for vserver in $potential_vservers ; do