diff --git a/install_functions/installCommon.sh b/install_functions/installCommon.sh index 4280190..93e5005 100644 --- a/install_functions/installCommon.sh +++ b/install_functions/installCommon.sh @@ -211,7 +211,7 @@ function installCommon_createInstallFiles() { eval "chown root:root /tmp/wazuh-install-files/* ${debug}" eval "tar -zcf '${tar_file}' -C '/tmp/' wazuh-install-files/ ${debug}" eval "rm -rf '/tmp/wazuh-install-files' ${debug}" - eval "rm -rf ${config_file} ${debug}" + eval "rm -rf ${config_file} ${debug}" common_logger "Created ${tar_file_name}. It contains the Wazuh cluster key, certificates, and passwords necessary for installation." else common_logger -e "Unable to create /tmp/wazuh-install-files"