Commit 202b1655 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Corrige coloreado de algunos errores

parent 905f5bad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ runRemoteCmd() {
# Se comprueba si está disponible la conexión hacia el entorno donde se va a desplegar.
if ! runRemoteCmd ":" &> /dev/null
then
	echo -e "\n${FAIL_COLOR}Failed to connect to host ${DATA_COLOR}${remoteHost}${INFO_COLOR} at port ${DATA_COLOR}${SSH_PORT}${INFO_COLOR} with user ${DATA_COLOR}${remoteUser}${INFO_COLOR}!${NULL_COLOR}"
	echo -e "\n${FAIL_COLOR}Failed to connect to host ${DATA_COLOR}${remoteHost}${FAIL_COLOR} at port ${DATA_COLOR}${SSH_PORT}${FAIL_COLOR} with user ${DATA_COLOR}${remoteUser}${FAIL_COLOR}!${NULL_COLOR}"
	eval "${closeSshCmd}"
	exit 1
fi
+2 −2
Original line number Diff line number Diff line
@@ -35,9 +35,9 @@ fi

if runRemoteCmd "${relaunchCmd}"
then
	echo -e "${PASS_COLOR}Service ${DATA_COLOR}${SERVICE}${PASS_COLOR} relaunched!${NULL_COLOR}"
	echo -e "${PASS_COLOR}Service ${DATA_COLOR}${SERVICE}${PASS_COLOR} relaunched successfully!${NULL_COLOR}"
else
	echo -e "${FAIL_COLOR}Service ${DATA_COLOR}${SERVICE}${PASS_COLOR} relaunch failed!${NULL_COLOR}"
	echo -e "${FAIL_COLOR}Service ${DATA_COLOR}${SERVICE}${FAIL_COLOR} relaunch failed!${NULL_COLOR}"
	eval "${closeSshCmd}"
	exit 1
fi