Parcourir la source

fix for #1315 by unsetting the updateonstart var

Daniel Gibbs il y a 8 ans
Parent
commit
70be3e17ed
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      lgsm/functions/command_start.sh

+ 1 - 0
lgsm/functions/command_start.sh

@@ -191,6 +191,7 @@ logs.sh
 if [ "${status}" == "0" ]; then
 	if [ "${updateonstart}" == "yes" ]||[ "${updateonstart}" == "1" ]||[ "${updateonstart}" == "on" ]; then
 		exitbypass=1
+		unset updateonstart
 		command_update.sh
 	fi
 fi