Skip to content

Commit

Permalink
Merge pull request #2 from fugerit79/amusarra-issue-1
Browse files Browse the repository at this point in the history
If xmlstarlet fails, the script will fail
  • Loading branch information
amusarra authored Sep 23, 2024
2 parents e05b01f + 1b57f09 commit d9a6949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/shell/certs-manager/download_tsl_it_certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ parse_and_save_certs() {

# Check if the XPath found any nodes
if [ -z "${certs}" ]; then
print_msg "${RED}" "❌ XPath set is empty. Please check the XML structure and XPath expression."
return
print_msg "${RED}" "❌ XPath set is empty. Please check the XML structure and XPath expression. (check your xmlstarlet version, minimum required version 1.6.1, compiled against libxml2 2.9.14 and libxslt 1.1.35)."
exit 1
fi

if [ $VERBOSE -eq 1 ]; then
Expand Down

0 comments on commit d9a6949

Please sign in to comment.