From: Zbigniew Jędrzejewski-Szmek Date: Sun, 19 May 2019 11:44:41 +0000 (+0200) Subject: core/service: drop {} X-Git-Tag: v243-rc1~399^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=569554d9e5b4ee4165c87bd3fd2e59509b89ab44;p=thirdparty%2Fsystemd.git core/service: drop {} --- diff --git a/src/core/service.c b/src/core/service.c index cfb0a7bc729..f16601a7288 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -2047,9 +2047,10 @@ static int service_adverse_to_leftover_processes(Service *s) { * aren't as rigoriously written to protect aganst against multiple use. */ if (unit_warn_leftover_processes(UNIT(s)) && IN_SET(s->kill_context.kill_mode, KILL_MIXED, KILL_CONTROL_GROUP) && - !s->kill_context.send_sigkill) { - return log_unit_error_errno(UNIT(s), SYNTHETIC_ERRNO(EBUSY), "Will not start SendSIGKILL=no service of type KillMode=control-group or mixed while processes exist"); - } + !s->kill_context.send_sigkill) + return log_unit_error_errno(UNIT(s), SYNTHETIC_ERRNO(EBUSY), + "Will not start SendSIGKILL=no service of type KillMode=control-group or mixed while processes exist"); + return 0; }