Fix error in deleting empty directories.
This commit is contained in:
parent
1d8a44fd4f
commit
0f520d619e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user