From: Jean-Marc Pigeon (Delson) Date: Wed, 18 Jun 2025 03:50:05 +0000 (-0400) Subject: prc_chod seems to e working X-Git-Tag: tag-0.9~111 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=13beed65b3dcb681c830c748a3fc033d1706808a;p=jmp%2Fmailleur prc_chod seems to e working --- diff --git a/app/receiver.c b/app/receiver.c index fdb90ef..9f358dc 100644 --- a/app/receiver.c +++ b/app/receiver.c @@ -52,6 +52,8 @@ while (proceed==true) { break; case 1 : //initialising process //changing the working ID if started as root + if (foreground==true) { + (void) fprintf(stdout,"Running application in foreground\n"); (void) prc_chgid(argv[0]); (void) prc_preptitle(argc,argv,environ); (void) rou_setappname(RECNAME); @@ -66,9 +68,6 @@ while (proceed==true) { if (foreground==false) { if (prc_divedivedive()!=0) phase=999; //direct exit - } - else - (void) fprintf(stdout,"Running application in foreground\n"); break; case 3 : //doing main task if (prc_locking(appname,true,5)==false)