diff --git a/gns3server/run.py b/gns3server/run.py index 5e5e3205..dabcf3f1 100644 --- a/gns3server/run.py +++ b/gns3server/run.py @@ -259,9 +259,8 @@ def run(): port = int(server_config["port"]) server = WebServer.instance(host, port) - status = 0 try: - status = server.run() + server.run() except OSError as e: # This is to ignore OSError: [WinError 0] The operation completed successfully exception on Windows. if not sys.platform.startswith("win") and not e.winerror == 0: