mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Do not remove tmp dir anymore, as it's used by others too
This commit is contained in:
parent
98589f8008
commit
74fc1dc888
1 changed files with 0 additions and 6 deletions
|
@ -121,11 +121,5 @@ func (reg *ResourceRegistry) DownloadUpdates(ctx context.Context) error {
|
|||
}
|
||||
log.Infof("%s: finished downloading updates", reg.Name)
|
||||
|
||||
// remove tmp folder after we are finished
|
||||
err = os.RemoveAll(reg.tmpDir.Path)
|
||||
if err != nil {
|
||||
log.Tracef("%s: failed to remove tmp dir %s after downloading updates: %s", reg.Name, reg.tmpDir.Path, err)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue