Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/helper_configure')
-rw-r--r--include/helper_configure6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/helper_configure b/include/helper_configure
index 042f1a1d..90e72a8e 100644
--- a/include/helper_configure
+++ b/include/helper_configure
@@ -85,7 +85,11 @@
${ECHOCMD} "Configuring setting '${CYAN}${SETTING}${NORMAL}'"
echo "${SETTING}=${VALUE}" >> ${CUSTOM_PROFILE}
else
- ${ECHOCMD} "${RED}Error${NORMAL}: Setting '${CYAN}${SETTING}${NORMAL}' was already configured:${NORMAL} ${WHITE}${FIND}${NORMAL}"
+ ${ECHOCMD} ""
+ ${ECHOCMD} "${RED}Error${NORMAL}: Setting '${CYAN}${SETTING}${NORMAL}' was already configured${NORMAL}"
+ ${ECHOCMD} ""
+ ${ECHOCMD} "Profile: ${CUSTOM_PROFILE}"
+ ${ECHOCMD} "Current value: ${WHITE}${FIND}${NORMAL}"
fi
fi
# Now check if value is in line with expected type (boolean, integer, string)