]> git.ipfire.org Git - thirdparty/systemd.git/commit
timedate: refuse to set time when previous request is not finished 11424/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Jan 2019 05:51:30 +0000 (14:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Jan 2019 06:15:26 +0000 (15:15 +0900)
commitb4356b5720ae0974f1f8962e26562591dd0be9e9
tree9e4f38a42beef71f3d2b33ce2b3995a0b7425005
parent84a87726eec88e7b11c8aa633bca006a0c0fc435
timedate: refuse to set time when previous request is not finished

If `timedatectl set-time` is invoked right after `timedatectl set-ntp true`,
then, the NTP service may not be started yet.

Fixes #11420.
src/timedate/timedated.c