summaryrefslogtreecommitdiff
path: root/src/journal/journald.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/journald.c')
-rw-r--r--src/journal/journald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 44c2aa4385..5c8e713657 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -1196,7 +1196,7 @@ static int system_journal_open(Server *s) {
fix_perms(s->system_journal, 0);
} else if (r < 0) {
- if (r == -ENOENT)
+ if (r == -ENOENT || r == -EROFS)
r = 0;
else {
log_error("Failed to open system journal: %s", strerror(-r));