~kennylevinsen/greetd

bc7e369225b628f0fb4863c9cfc4f48a3d632d41 — Aleksei Bavshin 1 year, 10 months ago 3a32863
Change order of setting pam environment variables.

Set the variables coming from a greeter first to ensure that the
duplicates will be overwritten by the values from greetd worker.
1 files changed, 1 insertions(+), 1 deletions(-)

M greetd/src/session/worker.rs
M greetd/src/session/worker.rs => greetd/src/session/worker.rs +1 -1
@@ 201,7 201,7 @@ fn worker(sock: &UnixDatagram) -> Result<(), Error> {
        ),
    ];

    for e in prepared_env.iter().chain(env.iter()) {
    for e in env.iter().chain(prepared_env.iter()) {
        pam.putenv(e)?;
    }