Daniel Gibbs 8 anos atrás
pai
commit
ec855898b9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lgsm/functions/install_dst_token.sh

+ 1 - 1
lgsm/functions/install_dst_token.sh

@@ -30,7 +30,7 @@ if [ -z "${autoinstall}" ]; then
 	if [ "${overwritetoken}" == "true" ]; then
 	if [ "${overwritetoken}" == "true" ]; then
 		echo "Once you have the cluster token, enter it below"
 		echo "Once you have the cluster token, enter it below"
 		echo -n "Cluster Token: "
 		echo -n "Cluster Token: "
-		read token
+		read -r token
 		mkdir -pv "${clustercfgdir}"
 		mkdir -pv "${clustercfgdir}"
 		echo "${token}" > "${clustercfgdir}/cluster_token.txt"
 		echo "${token}" > "${clustercfgdir}/cluster_token.txt"
 		if [ -f "${clustercfgdir}/cluster_token.txt" ]; then
 		if [ -f "${clustercfgdir}/cluster_token.txt" ]; then