Enhance comment and fix typo on it.

This commit is contained in:
Carlos Nihelton 2022-06-07 13:27:15 -03:00
parent 061efddec2
commit 7e94f78c0a
No known key found for this signature in database
GPG Key ID: 6FE346D245197E9A
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ class SystemSetupServer(SubiquityServer):
if port is None:
return await super().start_site(runner)
# Subiquity runs with root privileges. We don't wont outsiders to
# connect to it.
# Subiquity runs with root privileges, that's why we don't want
# outsiders to connect to it. Only localhost loopback is allowed.
site = web.TCPSite(runner, host=LOCALHOST_ADDR, port=port)
await site.start()