|
|
|
@ -182,8 +182,6 @@ if ($server_uuid) |
|
|
|
|
my $encoded_image = get_server_screenshot({ debug => $debug, server_uuid => $server_uuid, resize_args => $resize_args }); |
|
|
|
|
|
|
|
|
|
if ($request_host_uuid) |
|
|
|
|
{ |
|
|
|
|
if (length($encoded_image)) |
|
|
|
|
{ |
|
|
|
|
my $request_host_ip_address = get_remote_call_requirements({ debug => $debug, host_uuid => $request_host_uuid }); |
|
|
|
|
my $remote_shell_call = $anvil->data->{path}{exe}{echo}." '".$encoded_image."' >".$anvil->data->{path}{directories}{tmp}."/".$server_uuid."_screenshot_".$out_file_id; |
|
|
|
@ -192,6 +190,8 @@ if ($server_uuid) |
|
|
|
|
|
|
|
|
|
remote_call({ debug => $debug, shell_call => $remote_shell_call, target => $request_host_ip_address }); |
|
|
|
|
|
|
|
|
|
if (length($encoded_image)) |
|
|
|
|
{ |
|
|
|
|
$anvil->Job->update_progress({ progress => 100, message => "message_0264" }); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|