diff options
author | 2017-08-26 15:19:26 +0200 | |
---|---|---|
committer | 2017-09-08 17:10:55 -0400 | |
commit | f7d27d130eaac222b2d11c4d4415c9b599934da8 (patch) | |
tree | 08c82be4aadf4796230e4b96330f29a917c3d65b | |
parent | resolved: make sure idn2 conversions are roundtrippable (diff) | |
download | systemd-gentoo-234.tar.gz systemd-gentoo-234.tar.bz2 systemd-gentoo-234.zip |
logind: make sure we don't process the same method call twice (#6583)gentoo-234
Tiny mistake, big effect.
Fixes: #6375
-rw-r--r-- | src/login/logind-session-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index 22e5349a6..649f3c155 100644 --- a/src/login/logind-session-dbus.c +++ b/src/login/logind-session-dbus.c @@ -457,7 +457,7 @@ static int method_take_device(sd_bus_message *message, void *userdata, sd_bus_er goto error; session_save(s); - return 0; + return 1; error: session_device_free(sd); |