X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Funit.c;h=bcb95b2adc1740e1d87cdee8e1c8f0dcd556c8b2;hb=d5159713c13859a7d472625ddaa9f9cc4c546236;hp=374d2e133106def502cca34b9e24f364af1d9cdd;hpb=b86d44e5abc05dd13ad89cf1a4a69f32203f73e6;p=elogind.git diff --git a/src/unit.c b/src/unit.c index 374d2e133..bcb95b2ad 100644 --- a/src/unit.c +++ b/src/unit.c @@ -534,7 +534,7 @@ int unit_add_exec_dependencies(Unit *u, ExecContext *c) { assert(u); assert(c); - if (c->std_output != EXEC_OUTPUT_KERNEL && c->std_output != EXEC_OUTPUT_SYSLOG) + if (c->std_output != EXEC_OUTPUT_KMSG && c->std_output != EXEC_OUTPUT_SYSLOG) return 0; /* If syslog or kernel logging is requested, make sure our own @@ -735,9 +735,10 @@ fail: } /* Errors: - * -EBADR: This unit type does not support starting. - * -EALREADY: Unit is already started. - * -EAGAIN: An operation is already in progress. Retry later. + * -EBADR: This unit type does not support starting. + * -EALREADY: Unit is already started. + * -EAGAIN: An operation is already in progress. Retry later. + * -ECANCELED: Too many requests for now. */ int unit_start(Unit *u) { UnitActiveState state;