mirror of
https://git.proxmox.com/git/pmg-log-tracker
synced 2025-04-29 06:22:58 +00:00
correctly print newlines to separate entries
This commit is contained in:
parent
a101f17a59
commit
207eb01b55
@ -800,12 +800,15 @@ sentry_print (LParser *parser, SEntry *sentry)
|
|||||||
nq = nq->next;
|
nq = nq->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!parser->verbose) { fflush (stdout); return; }
|
||||||
|
|
||||||
if (parser->verbose > 1) {
|
if (parser->verbose > 1) {
|
||||||
printf ("LOGS:\n");
|
printf ("LOGS:\n");
|
||||||
loglist_print (&sentry->loglist);
|
loglist_print (&sentry->loglist);
|
||||||
printf ("\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf ("\n");
|
||||||
|
|
||||||
fflush (stdout);
|
fflush (stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user