diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-15 09:52:17 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-15 09:52:19 -0400 |
commit | c566ee3253132cc2ec37ed04c5bccbadf8e60c58 (patch) | |
tree | 79b177cee45c78456e246aaf9ca17c57b899a2e9 /units/x-.slice | |
parent | afc7b1b9c170b9d23a3d91367e00f33b2ee2e89e (diff) |
timesyncd: only listen to clock changes when connected
This reverts previous commit and applies a different fix.
manager_clock_watch() callback calls manager_send_request() to kick
off a resync. We can only do that when we're actually connected to
something. It is not useful to setup the callback from manager_new().
Now the callback will be dropped in manager_connect() and requested
in manager_begin().
https://bugs.freedesktop.org/show_bug.cgi?id=80932
Diffstat (limited to 'units/x-.slice')
0 files changed, 0 insertions, 0 deletions