mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-26 21:55:44 +07:00
systemctl: don't start agent for --user
This commit is contained in:
parent
7f6d613516
commit
715554e7b2
@ -141,6 +141,9 @@ static void spawn_ask_password_agent(void) {
|
||||
if (!arg_ask_password)
|
||||
return;
|
||||
|
||||
if (arg_user)
|
||||
return;
|
||||
|
||||
parent = getpid();
|
||||
|
||||
/* Spawns a temporary TTY agent, making sure it goes away when
|
||||
|
Loading…
Reference in New Issue
Block a user