From d892fb9997a98d12d9a09b12d3179242c48a07c9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Nov 2013 15:06:24 -0200 Subject: ChangeLog update and minor keyringer_shred improvement --- lib/keyringer/functions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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 } -- cgit v1.2.3