From 7c11a8568c1b1096e9d5a6851e4b3d595fff1e61 Mon Sep 17 00:00:00 2001 From: Mayte Ariza Date: Mon, 15 Jul 2019 09:43:08 +0200 Subject: [PATCH] Fixing remove files (#210) --- wazuh/config/01-wazuh.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wazuh/config/01-wazuh.sh b/wazuh/config/01-wazuh.sh index dbdb1076..2a4ac9ed 100644 --- a/wazuh/config/01-wazuh.sh +++ b/wazuh/config/01-wazuh.sh @@ -85,8 +85,10 @@ apply_exclusion_data() { remove_data_files() { for del_file in "${PERMANENT_DATA_DEL[@]}"; do if [ -e ${del_file} ] + then print "Removing ${del_file}" exec_cmd "rm ${del_file}" + fi done }