summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-13 20:17:37 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-13 20:17:37 +0200
commitb59866aefa110d368460edc14f98cd6d79fe05cd (patch)
tree1a37b12991dbde93fd45c88914f01dcbf3dfef3c /src/shared
parent7a8a6e88545bf22909941c9b022873709a1a1c9e (diff)
man: document sd_journal_get_cutoff_realtime_usec()
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/logs-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index e1119224e2..426a9d617c 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -639,7 +639,7 @@ int show_journal_by_unit(
if (r < 0)
goto finish;
- if (not_before < cutoff)
+ if (r > 0 && not_before < cutoff)
printf("Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.\n");
warn_cutoff = false;