Shred System.map files

This commit is contained in:
madaidan 2020-02-14 23:46:19 +00:00 committed by GitHub
parent ad6b766886
commit 31009f0bfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ fi
## Removes the System.map files as they are only used for debugging or malware.
for filename in ${system_map_location} ; do
if [ -f "${filename}" ]; then
rm --verbose --force "${filename}"
shred --verbose --force --zero -u "${filename}"
fi
done