Signed-off-by: Jiri Moskovcak jmoskovc@redhat.com --- src/daemon/abrtd.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/daemon/abrtd.c b/src/daemon/abrtd.c index 2af55a5..b7010f9 100644 --- a/src/daemon/abrtd.c +++ b/src/daemon/abrtd.c @@ -570,9 +570,16 @@ static void mark_unprocessed_dump_dirs_not_reportable(const char *path) struct dump_dir *dd = dd_opendir(full_name, /*flags*/0); if (dd) { - if (!dd_exist(dd, FILENAME_COUNT) && !dd_exist(dd, FILENAME_NOT_REPORTABLE)) + if (!dd_exist(dd, FILENAME_NOT_REPORTABLE)) { - log("Marking '%s' not reportable (no '"FILENAME_COUNT"' item)", full_name); + if (!dd_exist(dd, FILENAME_COUNT)) + { + log(_("Marking '%s' not reportable (no '"FILENAME_COUNT"' item)"), full_name); + } + if (!dd_exist(dd, FILENAME_TYPE)) //this should help with rhbz#958968 + { + log(_("Marking '%s' not reportable (no '"FILENAME_TYPE"' item)"), full_name); + }
dd_save_text(dd, FILENAME_NOT_REPORTABLE, _("The problem data are " "incomplete. This usually happens when a problem "
- this patch is wrong, please ignore it, I just sent a proper one
--Jirka
On 08/21/2013 01:02 PM, Jiri Moskovcak wrote:
Signed-off-by: Jiri Moskovcak jmoskovc@redhat.com
src/daemon/abrtd.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/daemon/abrtd.c b/src/daemon/abrtd.c index 2af55a5..b7010f9 100644 --- a/src/daemon/abrtd.c +++ b/src/daemon/abrtd.c @@ -570,9 +570,16 @@ static void mark_unprocessed_dump_dirs_not_reportable(const char *path) struct dump_dir *dd = dd_opendir(full_name, /*flags*/0); if (dd) {
if (!dd_exist(dd, FILENAME_COUNT) && !dd_exist(dd, FILENAME_NOT_REPORTABLE))
if (!dd_exist(dd, FILENAME_NOT_REPORTABLE)) {
log("Marking '%s' not reportable (no '"FILENAME_COUNT"' item)", full_name);
if (!dd_exist(dd, FILENAME_COUNT))
{
log(_("Marking '%s' not reportable (no '"FILENAME_COUNT"' item)"), full_name);
}
if (!dd_exist(dd, FILENAME_TYPE)) //this should help with rhbz#958968
{
log(_("Marking '%s' not reportable (no '"FILENAME_TYPE"' item)"), full_name);
} dd_save_text(dd, FILENAME_NOT_REPORTABLE, _("The problem data are " "incomplete. This usually happens when a problem "
crash-catcher@lists.fedorahosted.org