mk-ca-bundle.pl: use open() with argument list to replace backticks

On Windows this requires Perl 5.22 from year 2015.

Also:
- mdlinkcheck: delete redundant error handling logic.
  Follow-up to 77be4a7ab2 #19437

Closes #19461
This commit is contained in:
Viktor Szakats 2025-11-11 11:09:36 +01:00
parent f544eb97da
commit d499aa5238
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 13 additions and 9 deletions

View file

@ -145,10 +145,6 @@ sub checkurl {
@content = <$fh>;
close $fh;
}
else {
print STDERR "FAIL\n";
return 1; # fail
}
if(!$content[0]) {
print STDERR "FAIL\n";
return 1; # fail