mirror of
https://github.com/systemd/systemd.git
synced 2025-09-01 13:59:26 +03:00
systemctl: properly build flags for show_journal_by_unit()
This commit is contained in:
@ -2259,7 +2259,7 @@ static void print_status_info(UnitStatusInfo *i) {
|
|||||||
|
|
||||||
if (i->id && arg_transport != TRANSPORT_SSH) {
|
if (i->id && arg_transport != TRANSPORT_SSH) {
|
||||||
int flags =
|
int flags =
|
||||||
arg_lines * OUTPUT_SHOW_ALL |
|
arg_all * OUTPUT_SHOW_ALL |
|
||||||
arg_follow * OUTPUT_FOLLOW |
|
arg_follow * OUTPUT_FOLLOW |
|
||||||
!arg_quiet * OUTPUT_WARN_CUTOFF |
|
!arg_quiet * OUTPUT_WARN_CUTOFF |
|
||||||
on_tty() * OUTPUT_COLOR;
|
on_tty() * OUTPUT_COLOR;
|
||||||
|
Reference in New Issue
Block a user