TODO: handle 'admin-permission' event in admin.vm.Console

QubesOS/qubes-issues#5030
This commit is contained in:
Frédéric Pierret (fepitre) 2019-05-11 12:31:23 +02:00
parent ce3cb1b603
commit c0de16c940
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
# TODO: handle 'admin-permission' event for qubesd
lock="/var/run/qubes/$QREXEC_REQUESTED_TARGET.terminal.lock" lock="/var/run/qubes/$QREXEC_REQUESTED_TARGET.terminal.lock"
qvm-check --quiet --running "$QREXEC_REQUESTED_TARGET" > /dev/null 2>&1 || { echo "Error: domain '$QREXEC_REQUESTED_TARGET' does not exist or is not running"; exit 1; } qvm-check --quiet --running "$QREXEC_REQUESTED_TARGET" > /dev/null 2>&1 || { echo "Error: domain '$QREXEC_REQUESTED_TARGET' does not exist or is not running"; exit 1; }