mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Fix error handling
This commit is contained in:
parent
441f9c45ac
commit
f20ede2f06
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ func (reg *ResourceRegistry) Initialize(storageDir *utils.DirStructure) error {
|
|||
}
|
||||
|
||||
// (re-)create tmp dir
|
||||
reg.tmpDir.Ensure()
|
||||
err = reg.tmpDir.Ensure()
|
||||
if err != nil {
|
||||
log.Warningf("%s: failed to create tmp dir: %s", reg.Name, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue