From f20ede2f06cedd5c584bc2d1c65e65cd762a5616 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 8 May 2020 11:02:35 +0200 Subject: [PATCH] Fix error handling --- updater/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater/registry.go b/updater/registry.go index 1f031c1..91e49a4 100644 --- a/updater/registry.go +++ b/updater/registry.go @@ -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) }