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 }); }