diff options
author | hese10 <heikki.kemppainen@nokia.com> | 2016-10-12 19:40:28 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-10-12 18:40:28 +0200 |
commit | ec02a6c90a5d8b234db534ce3f8f1901f8532057 (patch) | |
tree | 7e63c92e175661bbe3bf5ba82537535d53971d29 /src/test/test-hexdecoct.c | |
parent | 63b0a24b5639d4eade5e85641dfd660fbc974322 (diff) |
Avoid forever loop for journalctl --list-boots command (#4278)
When date is changed in system to future and normal user logs to new journal file, and then date is changed back to present time, the "journalctl --list-boot" command goes to forever loop. This commit tries to fix this problem by checking first the boot id list if the found boot id was already in that list. If it is found, then stopping the boot id find loop.
Diffstat (limited to 'src/test/test-hexdecoct.c')
0 files changed, 0 insertions, 0 deletions