#878: abrtd doesn't update problem's occurence counter --------------------+------------------------------ Reporter: jfilak | Owner: crash-catcher@… Type: defect | Status: new Priority: major | Milestone: Component: abrt | Version: Keywords: | Blocked By: Blocking: | --------------------+------------------------------ This commit f8e673981bdd93b24ffe6251f4069b86aeb24f1a accidently breakes counter updating.
File src/daemon/abrtd.c
{{{ ... if (WIFSIGNALED(status)) { log("'post-create' on '%s' killed by signal %d", - dump_dir_name, WTERMSIG(status)); - return MW_ERROR; + state->dirname, WTERMSIG(status)); } /* else: it is WIFEXITED(status) */ - if (!dup_of_dir) + else if (!state->dup_of_dir) { log("'post-create' on '%s' exited with %d", - dump_dir_name, WEXITSTATUS(status)); - return MW_ERROR; + state->dirname, WEXITSTATUS(status)); } - dump_dir_name = dup_of_dir; + goto delete_bad_dir; } ... }}}