diff --git a/gitea/update-gitea.pl b/gitea/update-gitea.pl index ec013a3..d8cd101 100755 --- a/gitea/update-gitea.pl +++ b/gitea/update-gitea.pl @@ -266,7 +266,7 @@ sub get_download_url { printf( RED "[DEBUG] Array of hashes of the json response for the assets:\n" ); - printf Dumper $asset_resp_array_ref, RESET; + printf Dumper($asset_resp_array_ref), RESET; } foreach my $asset_ref ( @{$asset_resp_array_ref} ) { @@ -356,8 +356,8 @@ sub check_gitea_status { # print $exit / 256; # print "\n---------------------------\n"; my $gitea_ssh_status = $err; - if ($gitea_ssh_status =~ /(successfully)/gm) { - print "Gitea SSH status: $1\n"; + if ($gitea_ssh_status =~ /(successful)/gm) { + print "Gitea SSH connection attempt: $1\n"; }