mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-25 16:49:26 -05:00
remove-system.map: lower verbosity output
This commit is contained in:
parent
cce35e5109
commit
9bbae903fe
@ -26,7 +26,9 @@ fi
|
|||||||
## Removes the System.map files as they are only used for debugging or malware.
|
## Removes the System.map files as they are only used for debugging or malware.
|
||||||
for filename in ${system_map_location} ; do
|
for filename in ${system_map_location} ; do
|
||||||
if [ -f "${filename}" ]; then
|
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
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user