shared/pager: print the name of the pager we'll try next in debug message
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 May 2022 08:59:12 +0000 (10:59 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 Jun 2022 07:27:35 +0000 (09:27 +0200)
commitb622d2f7898302f83458fa7863c60087c7f8048b
tree8f1b59b322a5960449012c680157b99d794923ef
parent5b69a7c540828098cd353a8b7e5207750e02347b
shared/pager: print the name of the pager we'll try next in debug message

I had a strange failure where the pager was hanging on invocation (gdm crashed
and the kernel got into a strange state where it was hanging on some tasks).
Based on the logs from 'SYSTEMCTL_LOG_LEVEL=debug journalctl', I couldn't even
tell which pager binary we're executing. So let's shorten the function a bit and
provide a bit more detail.
src/shared/pager.c