Skip to content

Commit

Permalink
Add TS code from #3135 and adapt to new init stype
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs authored and MarkAckert committed Dec 11, 2024
1 parent e2d2073 commit 7714444
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/commands/init/security/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ if [ -z "${security_product}" ]; then
print_error_and_exit "Error ZWEL0157E: (zowe.setup.security.product) is not defined in Zowe YAML configuration file." "" 157
fi

security_product=$(read_yaml "${ZWE_CLI_PARAMETER_CONFIG}" ".zowe.setup.security.product")
if [ -z "${security_product}" ]; then
print_error_and_exit "Error ZWEL0157E: (zowe.setup.security.product) is not defined in Zowe YAML configuration file." "" 157
fi

###############################
# submit job
print_and_handle_jcl "//'${jcllib}(ZWEI${security_product})'" "ZWEI${security_product}" "${jcllib}" "${prefix}" "false" "${ZWE_CLI_PARAMETER_IGNORE_SECURITY_FAILURES}"
Expand Down

0 comments on commit 7714444

Please sign in to comment.