Răsfoiți Sursa

fix for #1315 by unsetting the updateonstart var

Daniel Gibbs 8 ani în urmă
părinte
comite
70be3e17ed
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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 [ "${status}" == "0" ]; then
 	if [ "${updateonstart}" == "yes" ]||[ "${updateonstart}" == "1" ]||[ "${updateonstart}" == "on" ]; then
 	if [ "${updateonstart}" == "yes" ]||[ "${updateonstart}" == "1" ]||[ "${updateonstart}" == "on" ]; then
 		exitbypass=1
 		exitbypass=1
+		unset updateonstart
 		command_update.sh
 		command_update.sh
 	fi
 	fi
 fi
 fi