]> git.ipfire.org Git - thirdparty/systemd.git/commit
ask-password: round up when determining sleep time
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Feb 2018 22:57:57 +0000 (23:57 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Feb 2018 23:03:05 +0000 (00:03 +0100)
commitc9eb4a00542e9183a624190cef64d27c560254bd
treedcc80480493055d86ff8230023d3980b1e5e9330
parent70dee4755a573f538e8897f97dde868bc1741170
ask-password: round up when determining sleep time

We should rather sleep to much than too little. This otherwise might
result in a busy loop, because we slept too little and then recheck
again coming to the conclusion we need to go to sleep again, and so on.
src/shared/ask-password-api.c