remove-system.map: lower verbosity output

This commit is contained in:
Patrick Schleizer
2020-02-15 05:29:48 -05:00
parent cce35e5109
commit 9bbae903fe

View File

@ -26,7 +26,9 @@ 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
shred --verbose --force --zero -u "${filename}"
## 'shred' with '--verbose' is too chatty. (7 lines)
shred --force --zero -u "${filename}"
echo "removed '${filename}'"
fi
done