aboutsummaryrefslogtreecommitdiff
path: root/src/rc-status.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-15 11:20:27 +0000
committerRoy Marples <roy@marples.name>2007-10-15 11:20:27 +0000
commitc7f679e97e83de461c8f2de320b6b120bdecc50a (patch)
tree002b052fbc5f28dec44c09404ac1d40712ee6aff /src/rc-status.c
parentf95e75f0e9fece41b8b15c0d810f3ce7561937b8 (diff)
Add trace to depopts
Diffstat (limited to 'src/rc-status.c')
-rw-r--r--src/rc-status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc-status.c b/src/rc-status.c
index 0db3c905..cb62e7c8 100644
--- a/src/rc-status.c
+++ b/src/rc-status.c
@@ -92,6 +92,7 @@ int rc_status (int argc, char **argv)
int opt;
int i;
int j;
+ int depopts = RC_DEP_STRICT | RC_DEP_START | RC_DEP_TRACE;
while ((opt = getopt_long(argc, argv, getoptstring, longopts, (int *) 0)) != -1)
switch (opt) {
@@ -146,7 +147,7 @@ int rc_status (int argc, char **argv)
services = rc_services_in_runlevel (level);
if (deptree) {
ordered = rc_deptree_depends (deptree, (char **) types, services,
- level, RC_DEP_STRICT | RC_DEP_START);
+ level, depopts);
rc_strlist_free (services);
services = ordered;
ordered = NULL;