chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3c7d7d
)
journalctl: add a missing 'break'
author
Tero Roponen
<tero.roponen@gmail.com>
Thu, 15 Mar 2012 06:26:55 +0000
(08:26 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 15 Mar 2012 13:12:30 +0000
(14:12 +0100)
There is a 'break' missing in the -q handling
so, for example, 'systemd-journalctl --new-id128 -q'
does nothing.
This patch fixes the problem.
src/journal/journalctl.c
patch
|
blob
|
history
diff --git
a/src/journal/journalctl.c
b/src/journal/journalctl.c
index 38c9d73b441f0560a7a59947cdab9c4e18431e65..089086eb9818ca5d6917a38ec92d87d5272b3f3e 100644
(file)
--- 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;