diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-11-14 15:06:24 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-11-14 15:06:24 -0200 |
commit | d892fb9997a98d12d9a09b12d3179242c48a07c9 (patch) | |
tree | e90ef8bc8bd6a2d23ac5cb8ed1d68121ccf7f4f2 /lib | |
parent | c10fdd5e50d1543196e0aeb29ee8032f0ad5aa0b (diff) | |
download | keyringer-d892fb9997a98d12d9a09b12d3179242c48a07c9.tar.gz keyringer-d892fb9997a98d12d9a09b12d3179242c48a07c9.tar.bz2 |
ChangeLog update and minor keyringer_shred improvement
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/keyringer/functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions index 4d97f34..d02b1d8 100755 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -152,6 +152,8 @@ function keyringer_shred { if [ -z "$path" ]; then return + elif [ ! -e "$path" ]; then + return fi # Get shred implementation @@ -170,7 +172,7 @@ function keyringer_shred { if [ -d "$path" ]; then find $path -exec $tool -f {} \; rmdir $path - elif [ -e "$path" ]; then + else $tool -f "$path" fi } |