From: Lennart Poettering Date: Mon, 18 Mar 2019 12:28:59 +0000 (+0100) Subject: core: split error list in comment for unit_start() in two X-Git-Tag: v242-rc1~108^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9adb695987dbf5a147d62e12b8f107223643f9ce;p=thirdparty%2Fsystemd.git core: split error list in comment for unit_start() in two --- diff --git a/src/core/unit.c b/src/core/unit.c index 1ce7ceb3e1c..445cf6695c8 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -1727,12 +1727,14 @@ static bool unit_verify_deps(Unit *u) { return true; } -/* Errors: - * -EBADR: This unit type does not support starting. +/* Errors that aren't really errors: * -EALREADY: Unit is already started. + * -ECOMM: Condition failed * -EAGAIN: An operation is already in progress. Retry later. + * + * Errors that are real errors: + * -EBADR: This unit type does not support starting. * -ECANCELED: Start limit hit, too many requests for now - * -ECOMM: Condition failed * -EPROTO: Assert failed * -EINVAL: Unit not loaded * -EOPNOTSUPP: Unit type not supported