fix typo in looking for refresh channel in kernel commandline

This commit is contained in:
Michael Hudson-Doyle 2019-04-12 14:26:01 +12:00
parent 357bbbeb21
commit d4e8cb7ffa
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class RefreshController(BaseController):
return self.answers['channel']
with open('/proc/cmdline') as fp:
cmdline = fp.read()
prefix = "subquity-channel="
prefix = "subiquity-channel="
for arg in cmdline.split():
if arg.startswith(prefix):
log.debug("found cmdline arg %s", arg)