forked from ungleich-public/cdist
Added rm of tmpfile.
This commit is contained in:
parent
c2c5668b70
commit
08ff41efde
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ if [ -f "$file" ]; then
|
|||
grep -v -F -x '$line' '$file' >\$tmpfile
|
||||
fi
|
||||
cat "\$tmpfile" >"$file"
|
||||
rm -f "\$tmpfile"
|
||||
DONE
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue