diff --git a/src/reports.c b/src/reports.c index b591082..54aac5e 100644 --- a/src/reports.c +++ b/src/reports.c @@ -2092,8 +2092,10 @@ print_datatables(struct configTag *ct, int arch) { obsoletebuf[0] = '\0'; while (currchild) { - fprintf(fbsh,"%s",currchild->name); - fprintf(fb," %s",currchild->name); + if (currchild->obsoleted == 0) { + fprintf(fbsh,"%s",currchild->name); + fprintf(fb," %s",currchild->name); + } for (i = 0; i < currchild->obsoletecount; i++ ) { if ((i > 0) && (!strcmp(currchild->obsoletename[i],currchild->obsoletename[i-1]))) continue; if (strlen(obsoletebuf) + strlen(currchild->obsoletename[i]) >= PATH_MAX - 2) {