From a0e88d92d4d7e130554e31b01bd732224db99dc6 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 4 Nov 2017 16:00:43 +0000 Subject: Better error message on invalid funnel bundles --- src/s6-rc/s6-rc-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/s6-rc/s6-rc-compile.c b/src/s6-rc/s6-rc-compile.c index af0e5c9..c0c53b1 100644 --- a/src/s6-rc/s6-rc-compile.c +++ b/src/s6-rc/s6-rc-compile.c @@ -539,7 +539,7 @@ static void add_tree_to_bundle_rec (struct pipeline_recinfo_s *recinfo, char con info = genalloc_s(nameinfo_t, &nameinfo) + id ; } if (info->type != SVTYPE_LONGRUN) - strerr_dief5x(1, "pipeline ", data.s + recinfo->pipelinename, " includes service ", name, " which is not a longrun") ; + strerr_dief6x(1, "pipeline ", data.s + recinfo->pipelinename, " includes service ", name, " of type ", typestr(info->type)) ; if (recinfo->bundle.n++ >= recinfo->nlong) strerr_dief4x(1, "pipeline ", data.s + recinfo->pipelinename, " is too long: possible loop involving ", name) ; if (verbosity >= 4) -- cgit v1.3.1