systemctl: don't start agent for --user

This commit is contained in:
Lennart Poettering 2011-02-09 01:09:09 +01:00
parent 7f6d613516
commit 715554e7b2

View File

@ -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