From 43f32e3c3b5fa91999c76cf1e56e47c56af763b6 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Thu, 16 Feb 2017 08:46:41 +0100
Subject: [PATCH] gluon-autoupdater: fix incomplete comment in upgrade script

Fixes #1043
---
 .../luasrc/lib/gluon/upgrade/500-autoupdater                  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/gluon-autoupdater/luasrc/lib/gluon/upgrade/500-autoupdater b/package/gluon-autoupdater/luasrc/lib/gluon/upgrade/500-autoupdater
index e43d6ea2b..6f3070bfe 100755
--- a/package/gluon-autoupdater/luasrc/lib/gluon/upgrade/500-autoupdater
+++ b/package/gluon-autoupdater/luasrc/lib/gluon/upgrade/500-autoupdater
@@ -41,7 +41,9 @@ autoupdater_util.randomseed()
 
 
 -- Perform updates at a random time between 04:00 and 05:00, and once an hour
--- a fallback update (used after the regular updates haven't
+-- a fallback update (used after the regular updates haven't worked for
+-- (priority+1) days after a firmware release, for example because the node
+-- is always offline at night)
 local minute = math.random(0, 59)
 
 local f = io.open('/usr/lib/micron.d/autoupdater', 'w')
-- 
GitLab