[systemd-devel] [PATCH v2] core: don't allow enabling if unit is masked
Jan Synacek
jsynacek at redhat.com
Tue Oct 7 04:35:40 PDT 2014
I'm not sure about the error type and message the user gets, though. It seems
that the only way to do this currently is to return an approximate errno, which
gets translated on the client side and the real message is then found in the
error log.
Changes in v2:
- move the funcionality to a common path, so uses with and without dbus are
affected
Jan Synacek (1):
core: don't allow enabling if unit is masked
src/shared/install.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
--
1.9.3
More information about the systemd-devel
mailing list