summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/timedate/timedatectl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c
index f9ca15cc81..b430973976 100644
--- a/src/timedate/timedatectl.c
+++ b/src/timedate/timedatectl.c
@@ -1041,6 +1041,8 @@ static int run(int argc, char *argv[]) {
if (r < 0)
return bus_log_connect_error(r, arg_transport);
+ (void) sd_bus_set_allow_interactive_authorization(bus, arg_ask_password);
+
return timedatectl_main(bus, argc, argv);
}