Warn user if there isn't a secure deletion utility

Otherwise, somebody with neither shred nor srm installed could blithely
go on using Blackbox assuming that their working copies are getting
securely deleted.
This commit is contained in:
Dan Slimmon
2016-03-14 18:53:29 +00:00
parent ee1bbc8092
commit fc63e24dcf

View File

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