From 46e65dcc3a522b5e992e165b5e61d14254026859 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 7 Nov 2013 21:06:44 +0100 Subject: polkit: don't spawn local client if we access a remote system --- src/timedate/timedatectl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/timedate/timedatectl.c') diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c index 7ce9a824ec..54b39a1806 100644 --- a/src/timedate/timedatectl.c +++ b/src/timedate/timedatectl.c @@ -58,6 +58,9 @@ static void polkit_agent_open_if_enabled(void) { if (!arg_ask_password) return; + if (arg_transport != BUS_TRANSPORT_LOCAL) + return; + polkit_agent_open(); } -- cgit v1.2.3-54-g00ecf