Skip to content

Commit

Permalink
Use generic 'guivm' service to tell if running inside GUI VM
Browse files Browse the repository at this point in the history
... instead of specific guivm-gui-agent.

QubesOS/qubes-issues#4186
  • Loading branch information
marmarek committed May 21, 2021
1 parent cbab1fc commit 2f0d37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qrexec-policy-agent-autostart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

if ! test -f /var/run/qubes-service/guivm-gui-agent && \
if ! test -f /var/run/qubes-service/guivm && \
! test -f /etc/qubes-release; then
echo "Not in GuiVM or dom0. Exiting."
exit 0
Expand Down

0 comments on commit 2f0d37a

Please sign in to comment.