Skip to content

Commit

Permalink
Check for final step (netdata#19708)
Browse files Browse the repository at this point in the history
  • Loading branch information
stelfrag authored Feb 25, 2025
1 parent 728e365 commit ede4ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon/daemon-status-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ bool daemon_status_file_was_incomplete_shutdown(void) {

void daemon_status_file_startup_step(const char *step) {
freez((char *)session_status.fatal.function);
session_status.fatal.function = strdupz(step);
session_status.fatal.function = step ? strdupz(step) : NULL;
if(step != NULL)
daemon_status_file_save(DAEMON_STATUS_NONE);
}
Expand Down

0 comments on commit ede4ba0

Please sign in to comment.