diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-17 06:06:52 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-17 06:07:18 +0000 |
commit | bfcb7c5f5333f9c3523b7027c2ad4c99e4494fb5 (patch) | |
tree | 7e884e33206f06aff2b84cee8853f8bdd833bd90 /src | |
parent | f1f8a5a5e110f485257e8702ad30b9997e529a74 (diff) |
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; } } |