Skip to content

Commit

Permalink
remove-system.map: lower verbosity output
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Feb 15, 2020
1 parent cce35e5 commit 9bbae90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion usr/lib/security-misc/remove-system.map
Expand Up @@ -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

Expand Down

0 comments on commit 9bbae90

Please sign in to comment.