install: never log from install functions
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Oct 2015 16:33:11 +0000 (18:33 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 12 Nov 2015 16:56:49 +0000 (17:56 +0100)
commitd073dea0a89c271fc4a769d5b3b2db395aa0239a
tree39aba2997495fae648a2756e3794cfde7fe943ca
parentd25e100bd6def67f302e43794869b651e780bffa
install: never log from install functions

Instead, let the caller do that. Fix this by moving masked unit messages
into the caller, by returning a clear error code (ESHUTDOWN) by which
this may be detected.
src/core/dbus-manager.c
src/shared/install.c
src/systemctl/systemctl.c