Added rm of tmpfile.

This commit is contained in:
Mark Verboom 2022-03-08 12:04:58 +01:00
parent c2c5668b70
commit 08ff41efde

View file

@ -40,6 +40,7 @@ if [ -f "$file" ]; then
grep -v -F -x '$line' '$file' >\$tmpfile grep -v -F -x '$line' '$file' >\$tmpfile
fi fi
cat "\$tmpfile" >"$file" cat "\$tmpfile" >"$file"
rm -f "\$tmpfile"
DONE DONE
} }