Skip to content

Commit

Permalink
Merge pull request #2419 from pqarmitage/updates
Browse files Browse the repository at this point in the history
ipvs: Update status code of misc checker if changes while in fault state
  • Loading branch information
pqarmitage authored May 25, 2024
2 parents 99de247 + a4258a6 commit 5ac9819
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keepalived/check/check_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ misc_check_child_thread(thread_ref_t thread)
checker->cur_weight = 0;
misck_checker->last_exit_code = status;
}
}
} else // if (status != misck_checker->last_exit_code)
misck_checker->last_exit_code = status;
}
else if (WIFSIGNALED(wait_status)) {
if (misck_checker->state == SCRIPT_STATE_REQUESTING_TERMINATION && WTERMSIG(wait_status) == SIGTERM) {
Expand Down

0 comments on commit 5ac9819

Please sign in to comment.