Blob Blame Raw
From 32ea8df8a957bec913087cb9c34f662d7d890fc1 Mon Sep 17 00:00:00 2001
From: Evgeny Vereshchagin <evvers@ya.ru>
Date: Tue, 17 Nov 2015 06:06:52 +0000
Subject: [PATCH 3/4] journalctl: don't print -- No entries -- in quiet mode

---
 src/journal/journalctl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 5c058dd..a8e0f01 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -2070,7 +2070,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;
                 }
         }
-- 
2.5.0