Explorar o código

auto update script executed

Toby Chui hai 1 ano
pai
achega
291d267858
Modificáronse 1 ficheiros con 1 adicións e 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()