|
@@ -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()
|