Fix error in deleting empty directories.

This commit is contained in:
Christoph 2018-04-02 18:14:21 +02:00
parent 1d8a44fd4f
commit 0f520d619e

View File

@ -174,7 +174,7 @@ if $terminal ; then
fi
for dir in $trash_dirs ; do
info "Cleanup trash directory \033[1m${dir}\033[m from empty directories .."
find $dir -depth -mindepth 2 -type d -empty -delete
find $dir -depth -mindepth 1 -type d -empty -delete
done
clean_up 0