summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-11-04 16:08:07 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-11-04 16:08:07 +0000
commit20255147bb02fda9fa7f5658267f206e03603a2a (patch)
treed7905ef55403fcc32d6fe8319015261918bad419
parenta0e88d92d4d7e130554e31b01bd732224db99dc6 (diff)
downloads6-rc-20255147bb02fda9fa7f5658267f206e03603a2a.tar.xz
Even better message: defer it >.>
-rw-r--r--src/s6-rc/s6-rc-compile.c3
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)