fix typo in looking for refresh channel in kernel commandline
This commit is contained in:
parent
357bbbeb21
commit
d4e8cb7ffa
|
@ -95,7 +95,7 @@ class RefreshController(BaseController):
|
||||||
return self.answers['channel']
|
return self.answers['channel']
|
||||||
with open('/proc/cmdline') as fp:
|
with open('/proc/cmdline') as fp:
|
||||||
cmdline = fp.read()
|
cmdline = fp.read()
|
||||||
prefix = "subquity-channel="
|
prefix = "subiquity-channel="
|
||||||
for arg in cmdline.split():
|
for arg in cmdline.split():
|
||||||
if arg.startswith(prefix):
|
if arg.startswith(prefix):
|
||||||
log.debug("found cmdline arg %s", arg)
|
log.debug("found cmdline arg %s", arg)
|
||||||
|
|
Loading…
Reference in New Issue