diff options
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r-- | src/journal/journalctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 46a7be20ce..8f452dd92d 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -867,6 +867,8 @@ int main(int argc, char *argv[]) { if (arg_action == ACTION_LIST_CATALOG) { r = catalog_list(stdout); + if (r < 0) + log_error("Failed to list catalog: %s", strerror(-r)); goto finish; } |