Make rm more safe.

This commit is contained in:
Bandie Yip Kojote 2015-12-29 21:26:53 +01:00
parent 25111c2ee5
commit cc5618ac7f

View File

@ -14,9 +14,7 @@ fi
# Then remove the signatures. # Then remove the signatures.
for i in `find /boot -name "*.sig"` find /boot -name '*.sig' -exec rm -- '{}' +
do
rm $i
done
echo "GRUB2 unsigned. WARNING: If you want to deactivate GRUB2's signature feature, change the check_signatures variable in the headers file!" echo "GRUB2 unsigned. WARNING: If you want to deactivate GRUB2's signature feature, change the check_signatures variable in the headers file!"
exit 0 exit 0