mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-03 12:14:50 -04:00
Remove hyphen
This commit is contained in:
parent
55225aa30e
commit
668b6420de
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
counter=0
|
counter=0
|
||||||
for filename in /boot/System.map-* ; do
|
for filename in /boot/System.map* ; do
|
||||||
counter=$(( counter + 1 ))
|
counter=$(( counter + 1 ))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ if [ "$counter" -ge "1" ]; then
|
||||||
fi
|
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 /boot/System.map-* ; do
|
for filename in /boot/System.map* ; do
|
||||||
if [ -f "${filename}" ]; then
|
if [ -f "${filename}" ]; then
|
||||||
rm --verbose --force "${filename}"
|
rm --verbose --force "${filename}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue