summaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/Makefile.am2
-rw-r--r--src/cli/report.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am
index fa28a2bb..bc02236e 100644
--- a/src/cli/Makefile.am
+++ b/src/cli/Makefile.am
@@ -50,7 +50,7 @@ MAN_TXT = \
man1_MANS = ${MAN_TXT:%.txt=%.1}
%.1 %.5 %.7: %.xml
- $(XMLTO_SILENT) xmlto man $< > /dev/null 2>&1
+ $(XMLTO_SILENT) xmlto man $< 2>&1 | sed '/Note/d'
%.xml: %.txt ../../asciidoc.conf
$(ASCIIDOC_SILENT) asciidoc --backend=docbook --doctype=manpage --conf-file ../../asciidoc.conf -aabrt_version=$(PACKAGE_VERSION) -o $@ $<
diff --git a/src/cli/report.c b/src/cli/report.c
index 93d1abd9..7f722480 100644
--- a/src/cli/report.c
+++ b/src/cli/report.c
@@ -682,7 +682,7 @@ int report(const char *dump_dir_name, int flags)
/* Load problem_data from (possibly updated by analyze) dump dir */
struct dump_dir *dd = dd_opendir(dump_dir_name, /*flags:*/ 0);
if (!dd)
- return -1;
+ return -1;
char *analyze_events_as_lines = list_possible_events(dd, NULL, "analyze");
dd_close(dd);
@@ -705,7 +705,7 @@ int report(const char *dump_dir_name, int flags)
/* Load problem_data from (possibly updated by analyze) dump dir */
dd = dd_opendir(dump_dir_name, /*flags:*/ 0);
if (!dd)
- return -1;
+ return -1;
char *report_events_as_lines = list_possible_events(dd, NULL, "report");
problem_data_t *problem_data = create_problem_data_from_dump_dir(dd);