From eca84915a635bb9a829dc5026827bcca7d8af7b2 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 2 Nov 2017 11:11:17 -0700 Subject: [PATCH] move depth option earlier --- debian/cron.daily | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/cron.daily b/debian/cron.daily index 3a80f98..9c9a6c8 100644 --- a/debian/cron.daily +++ b/debian/cron.daily @@ -17,7 +17,7 @@ if [ -d "$cachedir" ]; then # remove empty directories start-stop-daemon --start --pidfile /dev/null --startas /bin/sh \ --oknodo --chuid "$user" -- -c \ - "find '$cachedir' -mindepth 1 -depth -type d -print0 | \ + "find '$cachedir' -depth -mindepth 1 -type d -print0 | \ xargs -r0 rmdir --ignore-fail-on-non-empty" fi -- 2.39.5