chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemd: added new dependency PartOf
[elogind.git]
/
src
/
journal
/
journalctl.c
diff --git
a/src/journal/journalctl.c
b/src/journal/journalctl.c
index e9810c9a3d1cf7b9bb18af0a592fb5563d2ae83c..a9cf9cd957445441b045b345b3ca22a89e1a74f5 100644
(file)
--- a/
src/journal/journalctl.c
+++ b/
src/journal/journalctl.c
@@
-256,7
+256,7
@@
static int add_matches(sd_journal *j, char **args) {
t = strappend("_EXE=", path);
if (!t) {
free(p);
t = strappend("_EXE=", path);
if (!t) {
free(p);
- log_error("Out of memory");
+ log_error("Out of memory
.
");
return -ENOMEM;
}
return -ENOMEM;
}
@@
-398,11
+398,7
@@
int main(int argc, char *argv[]) {
goto finish;
}
goto finish;
}
- have_pager = !arg_no_pager && !arg_follow;
- if (have_pager) {
- columns();
- pager_open();
- }
+ have_pager = !arg_no_pager && !arg_follow && pager_open();
if (arg_output == OUTPUT_JSON) {
fputc('[', stdout);
if (arg_output == OUTPUT_JSON) {
fputc('[', stdout);