diff --git a/clean_samba_trash.sh b/clean_samba_trash.sh index 4cda5c7..3ac831b 100755 --- a/clean_samba_trash.sh +++ b/clean_samba_trash.sh @@ -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