fix(nix-monitor): add check time state to local check
This commit is contained in:
@@ -65,6 +65,7 @@ noctalia.writeFile(remoteHashFile, "")
|
|||||||
|
|
||||||
-- Local check
|
-- Local check
|
||||||
function checkLocalHash()
|
function checkLocalHash()
|
||||||
|
setState("lastLocalCheckTime", os.time())
|
||||||
noctalia.runAsync(localHashCmd, function(res)
|
noctalia.runAsync(localHashCmd, function(res)
|
||||||
if res.exitCode == 0 then
|
if res.exitCode == 0 then
|
||||||
setState("localHash", res.stdout)
|
setState("localHash", res.stdout)
|
||||||
|
|||||||
Reference in New Issue
Block a user