Explorar o código

fix for #1315 by unsetting the updateonstart var

Daniel Gibbs %!s(int64=8) %!d(string=hai) anos
pai
achega
70be3e17ed
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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