From b385d8af13c4b368a17682be1eb067942174fce8 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 14 Aug 2020 13:10:58 +0200 Subject: [PATCH] Fix restarting --- updates/restart.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updates/restart.go b/updates/restart.go index a6d5a34d..5dec184a 100644 --- a/updates/restart.go +++ b/updates/restart.go @@ -16,8 +16,8 @@ const ( var ( restartTask *modules.Task - restartPending *abool.AtomicBool - restartTriggered *abool.AtomicBool + restartPending = abool.New() + restartTriggered = abool.New() ) func init() {