This commit is contained in:
nicholas 2023-10-13 13:54:44 +02:00
parent 40362dfccf
commit b2948bd74c

View File

@ -47,7 +47,7 @@ else
echo "No file found within /tmp/tertf. No shredding to be done there." echo "No file found within /tmp/tertf. No shredding to be done there."
fi fi
# shredding /etc/tertf, , rm for good measure # shredding /etc/tertf, rm for good measure
if [ -f "$etc_file" ]; then if [ -f "$etc_file" ]; then
echo "Files found in /etc/. Let's get to it." echo "Files found in /etc/. Let's get to it."
shred -v -u "$etc_file" || rm -f "$tmp_file" shred -v -u "$etc_file" || rm -f "$tmp_file"