fix(nix-monitor): trim local hash
This commit is contained in:
@@ -83,7 +83,7 @@ function checkLocalHash()
|
|||||||
setState("lastLocalCheckTime", os.time())
|
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", noctalia.string.trim(res.stdout))
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user