aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/keyringer/functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index fcec045..4d97f34 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -148,6 +148,7 @@ function keyringer_set_tmpfile {
function keyringer_shred {
local path="$1"
local tool
+ local message="Removing"
if [ -z "$path" ]; then
return
@@ -160,10 +161,11 @@ function keyringer_shred {
tool="shred"
else
# Worst implementation
+ message="WARNING $message"
tool="rm"
fi
- echo "Removing $path using $tool..."
+ echo "$message $path using $tool..."
if [ -d "$path" ]; then
find $path -exec $tool -f {} \;