kcms/region_language: run "localectl list-locales" without pager
Reason for the change
By default, localectl
shows its output via a pager. This can be configured (incl. disabled) with the environment variable SYSTEMD_PAGER
. The typically used pagers (less
or more
) paginate only if run in terminal. However, this cannot be guaranteed. If the output is paginated, the code could not parse the localectl
output as expected.
Test plan
I don't know how to test this.
Edited by Plata Hill