Skip to content

Commit

Permalink
Startup phase: Fix regression in 6940ca8
Browse files Browse the repository at this point in the history
The "attendant" process was no longer showing in MI "ps" command outputs
due to being internally considered as "not running".
  • Loading branch information
liviuchircu committed May 9, 2023
1 parent 028704c commit b0068be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static int main_loop(void)
/* main process left */
is_main=1;
set_proc_attrs("attendant");
pt[process_no].flags |= OSS_PROC_NO_IPC|OSS_PROC_NO_LOAD;
pt[process_no].flags |= OSS_PROC_IS_RUNNING|OSS_PROC_NO_IPC|OSS_PROC_NO_LOAD;

if (testing_framework) {
if (init_child(1) < 0) {
Expand Down

1 comment on commit b0068be

@sobomax
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kudos, @liviuchircu for catching that up! 👍

Please sign in to comment.