summaryrefslogtreecommitdiffstats
path: root/src/journal
diff options
context:
space:
mode:
authorTero Roponen <tero.roponen@gmail.com>2012-03-15 07:26:55 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-15 14:12:30 +0100
commit490e567dbb12928528d395d2c759b80960312e8f (patch)
tree2cbe991b102a9ecab3a69ffa80f8973d6514e1a8 /src/journal
parentupdate TODO (diff)
downloadsystemd-490e567dbb12928528d395d2c759b80960312e8f.tar.xz
systemd-490e567dbb12928528d395d2c759b80960312e8f.zip
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.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journalctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 38c9d73b44..089086eb98 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;