chiark / gitweb /
login: make sure to replace existing units
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 16 Nov 2015 14:43:18 +0000 (15:43 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 26 Apr 2017 10:58:55 +0000 (12:58 +0200)
commitfe1d018e7c206a47e6d912b43017a1c056c2c4c9
treee4c5977197167448a28ac82b92da95e457c0b72b
parentbc862a48dfd0c56cfdfefcf400dc92464e135a64
login: make sure to replace existing units

When queuing unit jobs, we should rather replace existing units than
fail. This is especially important when we queued a user-shutdown and a
new login is encountered. In this case, we better raplce the shutdown
jobs. elogind takes care of everything else.
src/login/logind-dbus.c