From 771444452f55542e0df8fa7dec05d9df90bf0848 Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Fri, 9 Feb 2024 13:42:27 -0500 Subject: [PATCH] Add TS code from https://github.com/zowe/zowe-install-packaging/pull/3135 and adapt to new init stype Signed-off-by: 1000TurquoisePogs --- bin/commands/init/security/index.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/commands/init/security/index.sh b/bin/commands/init/security/index.sh index 6b0eed64bf..2106657fce 100644 --- a/bin/commands/init/security/index.sh +++ b/bin/commands/init/security/index.sh @@ -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}"