From e80ebdb8b42ca7c052153d9870c79614da34386f Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Thu, 20 May 2021 16:25:50 -0400 Subject: [PATCH] fix(cgi-bin): correct host_uuid existence check in set_power --- cgi-bin/set_power | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi-bin/set_power b/cgi-bin/set_power index a2e820fd..94892a49 100755 --- a/cgi-bin/set_power +++ b/cgi-bin/set_power @@ -182,7 +182,7 @@ if ($anvil_uuid) } elsif ($host_uuid) { - if (exists $anvil->data->{hosts}{host_uuid}{$anvil_uuid}) + if (exists $anvil->data->{hosts}{host_uuid}{$host_uuid}) { set_host_power({ host_uuid => $host_uuid, on => $is_on }); }