chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6d613
)
systemctl: don't start agent for --user
author
Lennart Poettering
<lennart@poettering.net>
Wed, 9 Feb 2011 00:09:09 +0000
(
01:09
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 9 Feb 2011 00:09:09 +0000
(
01:09
+0100)
src/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl.c
b/src/systemctl.c
index 66903aba28a5a1c276e081fa65a9a713be0e93ea..8527cd1aa00f2cf1064c0378c59cef4e9ddf1263 100644
(file)
--- a/
src/systemctl.c
+++ b/
src/systemctl.c
@@
-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