summaryrefslogtreecommitdiff
path: root/internal/task/task.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/task/task.go')
-rw-r--r--internal/task/task.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/task/task.go b/internal/task/task.go
index d8e2e72..51d1451 100644
--- a/internal/task/task.go
+++ b/internal/task/task.go
@@ -61,7 +61,7 @@ var dbg debugConfig
func SetDebugLog(path string) error {
// Close existing debug file if open before re-configuring.
if dbg.file != nil {
- dbg.file.Close()
+ _ = dbg.file.Close()
dbg.file = nil
dbg.writer = nil
}