]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: fix the return value in order to make sure we don't dipatch method return too... 16074/head
authorMichal Sekletár <msekleta@redhat.com>
Fri, 5 Jun 2020 13:23:12 +0000 (15:23 +0200)
committerMichal Sekletár <msekleta@redhat.com>
Fri, 5 Jun 2020 14:10:40 +0000 (16:10 +0200)
commit2884836e3c26fa76718319cdc6d13136bbc1354d
tree83ec78fa432574d69337f1580fbe68554b51b85d
parenta0d79df8e59c6bb6dc0382d71e835dec869a7df4
core: fix the return value in order to make sure we don't dipatch method return too early

Actually, it is the same kind of problem as in d910f4c . Basically, we
need to return 1 on success code path in slice_freezer_action().
Otherwise we dispatch DBus return message too soon.

Fixes: #16050
src/core/slice.c