mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +00:00
Delete the temp files created by gravity
This commit is contained in:
parent
c3c554f4d6
commit
5e308dbd51
1 changed files with 5 additions and 1 deletions
|
@ -168,6 +168,10 @@ gravity_transport() {
|
|||
# Process result
|
||||
gravity_patternCheck "${patternBuffer}" ${success} "${err}"
|
||||
|
||||
# Delete temp file if it hasn't been moved
|
||||
if [[ -f "${patternBuffer}" ]]; then
|
||||
rm "${patternBuffer}"
|
||||
fi
|
||||
}
|
||||
|
||||
# spinup - main gravity function
|
||||
|
|
Loading…
Reference in a new issue