diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-05-24 21:53:16 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-05-24 21:53:16 +0300 |
commit | c42a1d40833fbeaebfc75fc4ea8abfea8eaf4ca2 (patch) | |
tree | debfe89da0c2f80265be3ee740b7642ef1901eec /include/helper_configure | |
parent | a45d6e61f89bc916c59a25bf18aece4d773276f6 (diff) |
Improve error message when setting already exists
Diffstat (limited to 'include/helper_configure')
-rw-r--r-- | include/helper_configure | 6 |
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) |