diff options
author | Alex Musolino <alex@musolino.id.au> | 2023-03-05 14:14:13 +0000 |
---|---|---|
committer | Alex Musolino <alex@musolino.id.au> | 2023-03-05 14:14:13 +0000 |
commit | a7016ce07864175f22ee85b537544b63f43935cf (patch) | |
tree | 4cd92c763e7c847a3c879341b076bc287a94db23 /sys/src/cmd/upas | |
parent | 633bac1e917fe558b35846ffcc729ec2d47d4c99 (diff) |
Mail: don't start plumb procs in their own note groups
Doing so means these procs hang around after acme exits.
Diffstat (limited to 'sys/src/cmd/upas')
-rw-r--r-- | sys/src/cmd/upas/Mail/mbox.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/src/cmd/upas/Mail/mbox.c b/sys/src/cmd/upas/Mail/mbox.c index b7bdeda83..6ae448317 100644 --- a/sys/src/cmd/upas/Mail/mbox.c +++ b/sys/src/cmd/upas/Mail/mbox.c @@ -956,7 +956,7 @@ mbmain(void *cmd) showlist(); fprint(mbox.ctl, "dump %s\n", cmd); fprint(mbox.ctl, "clean\n"); - procrfork(eventread, nil, Stack, RFNOTEG); + proccreate(eventread, nil, Stack); while(1){ switch(alt(a)){ case Cevent: @@ -1048,13 +1048,13 @@ threadmain(int argc, char **argv) plumbshowmailfd = plumbopen("showmail", OREAD|OCEXEC); mbload(); - procrfork(plumbseemail, nil, Stack, RFNOTEG); - procrfork(plumbshowmail, nil, Stack, RFNOTEG); + proccreate(plumbseemail, nil, Stack); + proccreate(plumbshowmail, nil, Stack); /* avoid duplicate sends when multiple mailboxes are open */ if(sender || strcmp(mailbox, "mbox") == 0){ plumbsendmailfd = plumbopen("sendmail", OREAD|OCEXEC); - procrfork(plumbsendmail, nil, Stack, RFNOTEG); + proccreate(plumbsendmail, nil, Stack); } threadcreate(execlog, nil, Stack); threadcreate(mbmain, cmd, Stack); |