Cosmetic fix
[src/xds/xds-server.git] / main.go
diff --git a/main.go b/main.go
index a51a7a8..c73d881 100644 (file)
--- a/main.go
+++ b/main.go
@@ -209,8 +209,10 @@ func xdsApp(cliCtx *cli.Context) error {
                return cli.NewExitError(err, -6)
        }
 
-       // Create and start Web Server
+       // Create Web Server
        ctx.WWWServer = webserver.New(ctx.Config, ctx.MFolders, ctx.SDKs, ctx.Log)
+
+       // Run Web Server until exit requested (blocking call)
        if err = ctx.WWWServer.Serve(); err != nil {
                ctx.Log.Println(err)
                return cli.NewExitError(err, -7)