diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-04 16:08:07 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-04 16:08:07 +0000 |
commit | 20255147bb02fda9fa7f5658267f206e03603a2a (patch) | |
tree | d7905ef55403fcc32d6fe8319015261918bad419 /src | |
parent | a0e88d92d4d7e130554e31b01bd732224db99dc6 (diff) | |
download | s6-rc-20255147bb02fda9fa7f5658267f206e03603a2a.tar.xz |
Even better message: defer it >.>
Diffstat (limited to 'src')
-rw-r--r-- | src/s6-rc/s6-rc-compile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/s6-rc/s6-rc-compile.c b/src/s6-rc/s6-rc-compile.c index c0c53b1..1aaee35 100644 --- a/src/s6-rc/s6-rc-compile.c +++ b/src/s6-rc/s6-rc-compile.c @@ -538,8 +538,7 @@ static void add_tree_to_bundle_rec (struct pipeline_recinfo_s *recinfo, char con avltree_search(&names_map, name, &id) ; info = genalloc_s(nameinfo_t, &nameinfo) + id ; } - if (info->type != SVTYPE_LONGRUN) - strerr_dief6x(1, "pipeline ", data.s + recinfo->pipelinename, " includes service ", name, " of type ", typestr(info->type)) ; + if (info->type != SVTYPE_LONGRUN) return ; /* will error out later */ if (recinfo->bundle.n++ >= recinfo->nlong) strerr_dief4x(1, "pipeline ", data.s + recinfo->pipelinename, " is too long: possible loop involving ", name) ; if (verbosity >= 4) |