diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-04 16:00:43 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-04 16:00:43 +0000 |
commit | a0e88d92d4d7e130554e31b01bd732224db99dc6 (patch) | |
tree | d3c1e75e95dd3f7ed53034fa1e6ea429f79bd812 | |
parent | f755f36055637665f6598d516a5102d034f5e6c9 (diff) | |
download | s6-rc-a0e88d92d4d7e130554e31b01bd732224db99dc6.tar.xz |
Better error message on invalid funnel bundles
-rw-r--r-- | src/s6-rc/s6-rc-compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |