Fix issue with whirpool status
This commit is contained in:
parent
ece0a2781a
commit
e91d7a0f73
|
@ -15,8 +15,8 @@ def get_whirlpool_status():
|
|||
whirlpool_status_color = "gray"
|
||||
whirlpool_initialized = os.path.isfile("/opt/mynode/whirlpool/whirlpool-cli-config.properties")
|
||||
if is_whirlpool_enabled():
|
||||
get_service_status_code("whirlpool")
|
||||
if status != 0:
|
||||
status_code = get_service_status_code("whirlpool")
|
||||
if status_code != 0:
|
||||
whirlpool_status = "Inactive"
|
||||
whirlpool_status_color = "red"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user