Skip to content

Commit a580132

Browse files
committed
Assume GUI is enabled if dom0 didn't provide that info
Generally we require dom0 to be updated before VM, so that qubesdb key should always be there. But since handling the opposite case here is easy, lets do that anyway.
1 parent 3a07e9d commit a580132

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qubes-rpc/qubes.WaitForSession

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -eu
33

4-
if test "$(qubesdb-read /qubes-gui-enabled)" = "True"; then
4+
if test "$(qubesdb-read --default=True /qubes-gui-enabled)" = "True"; then
55
user="$(qubesdb-read /default-user || echo 'user')"
66
while ! [ -e "/var/run/qubes/qrexec-server.$user.sock" ]; do
77
sleep 0.1

0 commit comments

Comments
 (0)