[ABRT EL6 PATCH 1/3] fix problem occurrence counter updating algorithm
Jiri Moskovcak
jmoskovc at redhat.com
Mon May 13 12:48:09 UTC 2013
From: Jakub Filak <jfilak at redhat.com>
- closes trac#878
Signed-off-by: Jakub Filak <jfilak at redhat.com>
---
src/daemon/abrtd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/daemon/abrtd.c b/src/daemon/abrtd.c
index 6e73cb3..85f39fb 100644
--- a/src/daemon/abrtd.c
+++ b/src/daemon/abrtd.c
@@ -400,14 +400,15 @@ static gboolean handle_event_output_cb(GIOChannel *gio, GIOCondition condition,
{
log("'post-create' on '%s' killed by signal %d",
state->dirname, WTERMSIG(status));
+ goto delete_bad_dir;
}
/* else: it is WIFEXITED(status) */
else if (!state->dup_of_dir)
{
log("'post-create' on '%s' exited with %d",
state->dirname, WEXITSTATUS(status));
+ goto delete_bad_dir;
}
- goto delete_bad_dir;
}
char *work_dir = state->dup_of_dir ? state->dup_of_dir : state->dirname;
--
1.8.1.4
More information about the Crash-catcher
mailing list