Added rm of tmpfile.

This commit is contained in:
Mark Verboom 2022-03-08 12:04:58 +01:00
parent c2c5668b70
commit 08ff41efde
1 changed files with 1 additions and 0 deletions

View File

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