blob: 37fd6c8129a714de21e435ccebb0449b1ab4120b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
if [ "$qube" = dom0 ]; then
logs=/var/log/xen/console/hypervisor.log
else
logs="/var/log/xen/console/guest-$qube.log\n/var/log/xen/console/guest-$qube-dm.log\n/var/log/qubes/guid.$qube.log\n/var/log/qubes/qrexec.$qube.log"
fi
entry=1
while [ -n "$entry" ]; do
if entry=$(printf "$logs" | dmenu-unlinked -i -l 4 -p "$qube:"); then
qubes-log-viewer "$entry"
fi
done
|