shred_file() outputs warning message to stderr. (#192)
This commit is contained in:
@@ -316,7 +316,7 @@ function shred_file() {
|
|||||||
CMD=rm
|
CMD=rm
|
||||||
OPT=-Pf
|
OPT=-Pf
|
||||||
else
|
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
|
CMD=rm
|
||||||
OPT=-f
|
OPT=-f
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user