diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-07 21:06:44 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-07 21:06:44 +0100 |
commit | 46e65dcc3a522b5e992e165b5e61d14254026859 (patch) | |
tree | 84ea0d49f1c502972e8bfa85587cfbf9c875b586 /src/locale/localectl.c | |
parent | 0d49cfa264e8afc52526cd0cd73b2309dff498b2 (diff) |
polkit: don't spawn local client if we access a remote system
Diffstat (limited to 'src/locale/localectl.c')
-rw-r--r-- | src/locale/localectl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c index e8bf510570..748a14841d 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -63,6 +63,9 @@ static void polkit_agent_open_if_enabled(void) { if (!arg_ask_password) return; + if (arg_transport != BUS_TRANSPORT_LOCAL) + return; + polkit_agent_open(); } |