From c42a1d40833fbeaebfc75fc4ea8abfea8eaf4ca2 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 24 May 2016 20:53:16 +0200 Subject: [PATCH] Improve error message when setting already exists --- include/helper_configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)