[ABRT EL6 PATCH 1/3] fix problem occurrence counter updating algorithm

Jakub Filak jfilak at redhat.com
Mon May 13 13:03:08 UTC 2013


Pushed. Thanks!

On Monday 13 of May 2013 14:48:09 Jiri Moskovcak wrote:
> 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;


More information about the Crash-catcher mailing list