When testing services to stop, we should trace it. More for #79.

This commit is contained in:
Roy Marples 2008-05-12 23:45:17 +00:00
parent f13ea77491
commit 5c114d9430

View File

@ -801,7 +801,8 @@ static void do_stop_services(const char *newlevel, bool going_down, bool paralle
tmplist = rc_stringlist_new(); tmplist = rc_stringlist_new();
rc_stringlist_add(tmplist, service->value); rc_stringlist_add(tmplist, service->value);
deporder = rc_deptree_depends(deptree, types_n, tmplist, deporder = rc_deptree_depends(deptree, types_n, tmplist,
runlevel, RC_DEP_STRICT); runlevel,
RC_DEP_STRICT | RC_DEP_TRACE);
rc_stringlist_free(tmplist); rc_stringlist_free(tmplist);
svc2 = NULL; svc2 = NULL;
TAILQ_FOREACH (svc1, deporder, entries) { TAILQ_FOREACH (svc1, deporder, entries) {