Skip to content

Commit

Permalink
Do not omit the attendant process in MI "ps"
Browse files Browse the repository at this point in the history
Completes 39febee
  • Loading branch information
liviuchircu committed Apr 2, 2019
1 parent 0b90e00 commit 414d69d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -822,7 +822,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_NO_IPC|OSS_PROC_NO_LOAD;

if (testing_framework) {
if (init_child(1) < 0) {
Expand Down
1 change: 0 additions & 1 deletion pt.c
Expand Up @@ -135,7 +135,6 @@ int init_multi_proc_support(void)

/* set the pid for the starter process */
set_proc_attrs("starter");
pt[process_no].flags = OSS_PROC_IS_RUNNING;

/* register the stats for the global load */
if ( register_stat2( "load", "load", (stat_var**)pt_get_rt_load,
Expand Down

0 comments on commit 414d69d

Please sign in to comment.