diff options
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journald-server.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 332ba41363..81de959666 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -845,6 +845,11 @@ void server_dispatch_message( if (LOG_PRI(priority) > s->max_level_store) return; + /* Stop early in case the information will not be stored + * in a journal. */ + if (s->storage == STORAGE_NONE) + return; + if (!ucred) goto finish; |