server flag fixed

This commit is contained in:
asoseil 2017-11-13 22:51:45 +01:00
parent 47077a5d42
commit 527d454786
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func (s *Server) projects(c echo.Context) (err error) {
// Start the web server // Start the web server
func (s *Server) start(p *cli.Context) (err error) { func (s *Server) start(p *cli.Context) (err error) {
if p.Bool("server") { if p.Bool("server") {
s.parent.Server.Status = p.Bool("server") s.parent.Server.Status = true
} }
if p.Bool("open"){ if p.Bool("open"){
s.parent.Server.Open = true s.parent.Server.Open = true