diff options
author | Daniel Mack <github@zonque.org> | 2015-11-17 09:34:58 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-11-17 09:34:58 +0100 |
commit | f21bb7537ab7b6b871eac424f72b703851bf9f00 (patch) | |
tree | baeafb11bfbc562dc1f85dd1cdc745e4310bd48d /src | |
parent | bf7e619b3b2b97ff2a4952ab125c794c0d3bdb5f (diff) | |
parent | bfcb7c5f5333f9c3523b7027c2ad4c99e4494fb5 (diff) |
Merge pull request #1927 from evverx/no-entries-in-quiet-mode
journalctl: don't print -- No entries -- in quiet mode
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/journalctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 75a48c761c..d9a8063d31 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -2247,7 +2247,8 @@ int main(int argc, char *argv[]) { if (arg_follow) need_seek = true; else { - printf("-- No entries --\n"); + if (!arg_quiet) + printf("-- No entries --\n"); goto finish; } } |