appmenus: do not force GUI connection when retrieving appmenus
There could be no GUI available - for example at firstboot.
This commit is contained in:
parent
e76007fe20
commit
735788dbd6
@ -118,7 +118,8 @@ def get_appmenus(vm):
|
||||
if appmenus_line_count == 0:
|
||||
raise QubesException("Line count limit exceeded")
|
||||
else:
|
||||
p = vm.run('QUBESRPC qubes.GetAppmenus dom0', passio_popen=True)
|
||||
p = vm.run('QUBESRPC qubes.GetAppmenus dom0', passio_popen=True,
|
||||
gui=False)
|
||||
while appmenus_line_count > 0:
|
||||
untrusted_line = p.stdout.readline(appmenus_line_size)
|
||||
if untrusted_line == "":
|
||||
|
Loading…
Reference in New Issue
Block a user