Explorar el Código

auto update script executed

Toby Chui hace 1 año
padre
commit
291d267858
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mod/webserv/webserv.go

+ 1 - 1
mod/webserv/webserv.go

@@ -89,7 +89,7 @@ func (ws *WebServer) RestorePreviousState() {
 	ws.option.EnableDirectoryListing = enableDirList
 
 	//Check the running state
-	webservRunning := false
+	webservRunning := true
 	ws.option.Sysdb.Read("webserv", "enabled", &webservRunning)
 	if webservRunning {
 		ws.Start()