# 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