Remove rhosts temp file when completed

stable
Justin Reichardt 2021-12-09 18:09:51 -06:00
parent 17d3abc90a
commit f8a6a284c2
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ func main() {
log.Print("Failed to copy static entries") log.Print("Failed to copy static entries")
continue continue
} }
defer os.Remove(tmpdir + "rhosts")
err = downloadcontent(downloads, tmpdir) err = downloadcontent(downloads, tmpdir)
if (err != nil){ if (err != nil){
log.Print("Failed to download entries") log.Print("Failed to download entries")