diff options
Diffstat (limited to 'lib/keyringer/functions')
-rwxr-xr-x | lib/keyringer/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions index 72286ff..d529daf 100755 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -218,7 +218,7 @@ function keyringer_shred { $tool -rf $path else find $path -type f -exec $tool -uf {} \; - find -d $path -type d -exec rmdir {} \; + find $path -depth -type d -exec rmdir {} \; fi else if [ "$tool" == "wipe" ] || [ "$tool" == "rm" ] || [ "$tool" == "rm -P" ]; then |