summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-12 23:45:17 +0000
committerRoy Marples <roy@marples.name>2008-05-12 23:45:17 +0000
commit5c114d9430acb39e219bfedf2a6426f05339f68a (patch)
tree6825d6111590a49cfe869df22d4e0cd19dd33b5f
parentf13ea774917a45476fed63a3f9c129897da20b6b (diff)
downloadopenrc-5c114d9430acb39e219bfedf2a6426f05339f68a.tar.gz
openrc-5c114d9430acb39e219bfedf2a6426f05339f68a.tar.bz2
openrc-5c114d9430acb39e219bfedf2a6426f05339f68a.tar.xz
When testing services to stop, we should trace it. More for #79.
-rw-r--r--src/rc/rc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index af1eb37..3d5a817 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -801,7 +801,8 @@ static void do_stop_services(const char *newlevel, bool going_down, bool paralle
tmplist = rc_stringlist_new();
rc_stringlist_add(tmplist, service->value);
deporder = rc_deptree_depends(deptree, types_n, tmplist,
- runlevel, RC_DEP_STRICT);
+ runlevel,
+ RC_DEP_STRICT | RC_DEP_TRACE);
rc_stringlist_free(tmplist);
svc2 = NULL;
TAILQ_FOREACH (svc1, deporder, entries) {