[systemd-commits] src/journal

Lennart Poettering lennart at kemper.freedesktop.org
Thu Mar 15 06:13:03 PDT 2012


 src/journal/journalctl.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 490e567dbb12928528d395d2c759b80960312e8f
Author: Tero Roponen <tero.roponen at gmail.com>
Date:   Thu Mar 15 08:26:55 2012 +0200

    journalctl: add a missing 'break'
    
    There is a 'break' missing in the -q handling
    so, for example, 'systemd-journalctl --new-id128 -q'
    does nothing.
    
    This patch fixes the problem.

diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 38c9d73..089086e 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -148,6 +148,7 @@ static int parse_argv(int argc, char *argv[]) {
 
                 case 'q':
                         arg_quiet = true;
+                        break;
 
                 case '?':
                         return -EINVAL;



More information about the systemd-commits mailing list