Skip to content

Commit

Permalink
luci-app-falter-owm: Fix uptime in owm.sh
Browse files Browse the repository at this point in the history
There was some little word missing in owm.sh. In result, the
uptime was not included right into the json-string. On the map
nodes with the old version of the script show constantly an up-
time of just a few seconds.

Signed-off-by: Martin Hübner <martin.hubner@web.de>
  • Loading branch information
Akira25 authored and pmelange committed Nov 10, 2021
1 parent f8a4687 commit ce0459c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luci/luci-app-falter-owm/files/owm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ json_add_object system
json_add_string "" "system is deprecated"
json_add_string "" "$model"
json_close_array
json_add_array
json_add_array uptime
json_add_int "" $uptime
json_close_array
json_add_array loadavg
Expand Down

0 comments on commit ce0459c

Please sign in to comment.