login: make sure to replace existing units
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 16 Nov 2015 14:43:18 +0000 (15:43 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 16 Nov 2015 14:43:18 +0000 (15:43 +0100)
commit79ee4ad108adc55c44891dc0058568d1068f311e
tree0ed94868f362724ef2265623360c81940aba7640
parenta832ab6f9953d070ee8f5cf2c7869425760b2645
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. systemd takes care of everything else.
src/login/logind-dbus.c