]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
ask-password-agent: introduce ask_password_agent_open_if_enabled()
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Nov 2019 10:11:52 +0000 (11:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 Nov 2019 10:11:52 +0000 (11:11 +0100)
commitc59e2ec6961e6ce1acb97bb2cdb7499dc23bc23d
treea07981df67c58ab09c25cf5b78f0b50faa99dcb1
parent385d581b7429f9d1d6d2826eac82e581468656f9
ask-password-agent: introduce ask_password_agent_open_if_enabled()

This makes the ask-password agent handling more alike the polkit agent
handling again, and introduces ask_password_agent_open_if_enabled() that
works just like the already existing polkit_agent_open_if_enabled().
src/shared/spawn-ask-password-agent.c
src/shared/spawn-ask-password-agent.h
src/systemctl/systemctl.c