}
if (i->id && arg_transport != TRANSPORT_SSH) {
- int flags = (arg_lines*OUTPUT_SHOW_ALL |
- arg_follow*OUTPUT_FOLLOW |
- !arg_quiet*OUTPUT_WARN_CUTOFF);
+ int flags =
+ arg_lines * OUTPUT_SHOW_ALL |
+ arg_follow * OUTPUT_FOLLOW |
+ !arg_quiet * OUTPUT_WARN_CUTOFF |
+ on_tty() * OUTPUT_COLOR;
+
printf("\n");
show_journal_by_unit(i->id, arg_output, 0,
i->inactive_exit_timestamp_monotonic,