manager: remove fallback for user/exit.target
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Wed, 2 Aug 2017 15:19:22 +0000 (16:19 +0100)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Thu, 31 Aug 2017 15:17:41 +0000 (16:17 +0100)
commitc75fbadac6bbbf8aa2b7c87be09dbea1f7715188
tree9d2ec6db13d8ad5ff308eec50e4d0ee41ae6d813
parentdcb1468861deddc0b76ee2e05a3ad9e52f2faacc
manager: remove fallback for user/exit.target

The comment here was misleading: the job can fail to enqueue for reasons
other than the target not existing.

The fallback caused an error to be logged, and dates back to when the
"user" directory was named "session".  units/session/exit.target was added
later the same year.

This is consistent with the documentation (man systemd), and the handling
of similar signals.  It's also consistent with `systemctl exit`, which is
what most people would expect.
src/core/manager.c