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() {