mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-30 12:10:20 +00:00
Merge pull request #1394 from pi-hole/fix/remove-temp-gravity-files
Delete the temp files created by gravity
This commit is contained in:
commit
d0f55e5125
1 changed files with 5 additions and 1 deletions
|
@ -167,7 +167,11 @@ gravity_transport() {
|
||||||
|
|
||||||
# Process result
|
# Process result
|
||||||
gravity_patternCheck "${patternBuffer}" ${success} "${err}"
|
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
|
# spinup - main gravity function
|
||||||
|
|
Loading…
Add table
Reference in a new issue