aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;