Bladeren bron

fix(install): check if gslt token empty instead of existing (#2408)

Co-authored-by: Christian Birk <chris.h3o66@gmail.com>
Christian 7 jaren geleden
bovenliggende
commit
b90623f005
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      lgsm/functions/command_install.sh

+ 1 - 1
lgsm/functions/command_install.sh

@@ -32,7 +32,7 @@ else
 
 
 	# Configuration.
 	# Configuration.
 	install_config.sh
 	install_config.sh
-	if [ -v "${gslt}" ]; then
+	if [ -z "${gslt}" ]; then
 		install_gslt.sh
 		install_gslt.sh
 	elif [ "${shortname}" == "dst" ]; then
 	elif [ "${shortname}" == "dst" ]; then
 		install_dst_token.sh
 		install_dst_token.sh