chiark / gitweb /
systemctl: properly build flags for show_journal_by_unit()
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Sep 2012 00:05:04 +0000 (17:05 -0700)
committerLennart Poettering <lennart@poettering.net>
Thu, 6 Sep 2012 00:05:04 +0000 (17:05 -0700)
src/systemctl/systemctl.c

index 14f8a12..98d0fcb 100644 (file)
@@ -2259,7 +2259,7 @@ static void print_status_info(UnitStatusInfo *i) {
 
         if (i->id && arg_transport != TRANSPORT_SSH) {
                 int flags =
-                        arg_lines * OUTPUT_SHOW_ALL |
+                        arg_all * OUTPUT_SHOW_ALL |
                         arg_follow * OUTPUT_FOLLOW |
                         !arg_quiet * OUTPUT_WARN_CUTOFF |
                         on_tty() * OUTPUT_COLOR;