shred_file() outputs warning message to stderr. (#192)

This commit is contained in:
Matthew
2017-05-02 20:03:07 +09:30
committed by Tom Limoncelli
parent 8728290122
commit be425ed76c

View File

@@ -281,7 +281,7 @@ function shred_file() {
CMD=rm
OPT=-Pf
else
echo "shred_file: WARNING: No secure deletion utility (shred or srm) present; using insecure rm"
echo "shred_file: WARNING: No secure deletion utility (shred or srm) present; using insecure rm" >&2
CMD=rm
OPT=-f
fi