Merge pull request #62 from madaidan/shred

Shred System.map files
This commit is contained in:
Patrick Schleizer
2020-02-15 10:25:15 +00:00
committed by GitHub

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