]> git.ipfire.org Git - thirdparty/systemd.git/commit
run: query for SoftRebootsCount only for system scope runs
authorLuca Boccassi <bluca@debian.org>
Fri, 5 Apr 2024 23:00:41 +0000 (00:00 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 7 Apr 2024 09:20:04 +0000 (10:20 +0100)
commit9dd174dc232af12ba5898d8ede9aca370ef9a85f
tree4fef9ca04fa84828a47768f0b20e77a58a583ffa
parentb3a8264831ad2d3b699173ed3d0c0a0f34549534
run: query for SoftRebootsCount only for system scope runs

Only the system manager records soft reboots, and the user session is
restarted anyway so it doesn't suffer from the ID clash issue

Follow-up for ed358516937780b524a2cfa833427da3df1bc87f
src/run/run.c