logs: Adapt interface in log-show.c (show_journal_by_unit)
Convert more flag arguments into one flag variable.
This commit is contained in:
committed by
Lennart Poettering
parent
25277cd7fb
commit
085d71209b
@@ -2592,8 +2592,13 @@ static void print_status_info(UnitStatusInfo *i) {
|
||||
}
|
||||
|
||||
if (i->id && arg_transport != TRANSPORT_SSH) {
|
||||
int flags = (arg_lines*OUTPUT_SHOW_ALL |
|
||||
arg_follow*OUTPUT_FOLLOW |
|
||||
!arg_quiet*OUTPUT_WARN_CUTOFF);
|
||||
printf("\n");
|
||||
show_journal_by_unit(i->id, arg_output, 0, i->inactive_exit_timestamp_monotonic, arg_lines, arg_all, arg_follow, !arg_quiet);
|
||||
show_journal_by_unit(i->id, arg_output, 0,
|
||||
i->inactive_exit_timestamp_monotonic,
|
||||
arg_lines, flags);
|
||||
}
|
||||
|
||||
if (i->need_daemon_reload)
|
||||
|
||||
Reference in New Issue
Block a user