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 5a05be06c7
commit 415f7664b5

View File

@@ -316,7 +316,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